forked from gazebosim/gz-math
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (32 loc) · 820 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
os:
- Visual Studio 2017
configuration:
- Debug
- Release
environment:
CTEST_OUTPUT_ON_FAILURE: 1
install:
- git clone https://github.com/ignitionrobotics/ign-cmake
- cd ign-cmake
- git checkout ign-cmake2
- md build
- cd build
- cmake .. -DBUILD_TESTING:BOOL=False
- cmake --build . --target INSTALL
- cd ../..
build_script:
- md build
- cd build
- cmake .. -DCMAKE_CXX_FLAGS="-WX"
- cmake --build . --config %CONFIGURATION%
after_build:
- cmake --build . --config %CONFIGURATION% --target INSTALL
test_script:
- cmake --build . --config %CONFIGURATION% --target RUN_TESTS
# Build the examples to make sure that find_package(ignition-math* REQUIRED) works
- cd ../examples
- md build
- cd build
- cmake ..
- cmake --build . --config %CONFIGURATION%
- cd ..