-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
35 lines (26 loc) · 970 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
image: ubuntu
install:
# install conan
- sudo pip install conan --upgrade
before_build:
# update gcc and g++ alternatives
- sudo update-alternatives --set gcc /usr/bin/gcc-8
- gcc --version
- g++ --version
- cmake --version
- mkdir ${APPVEYOR_BUILD_FOLDER}/debug_build
- cd ${APPVEYOR_BUILD_FOLDER}/debug_build
- cmake .. -DWFC_BUILD_ALL=1 -DCMAKE_BUILD_TYPE=Debug
- mkdir ${APPVEYOR_BUILD_FOLDER}/release_build
- cd ${APPVEYOR_BUILD_FOLDER}/release_build
- cmake .. -DWFC_BUILD_ALL=1 -DCMAKE_BUILD_TYPE=Release
build_script:
- cd ${APPVEYOR_BUILD_FOLDER}/debug_build
- make
- cd ${APPVEYOR_BUILD_FOLDER}/release_build
- make
test_script:
- ${APPVEYOR_BUILD_FOLDER}/debug_build/bin/UnorderedMapTests
- ${APPVEYOR_BUILD_FOLDER}/debug_build/bin/UtilityTests
- ${APPVEYOR_BUILD_FOLDER}/release_build/bin/UnorderedMapTests
- ${APPVEYOR_BUILD_FOLDER}/release_build/bin/UtilityTests