forked from kimwalisch/libpopcnt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
60 lines (52 loc) · 1.25 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Automated testing using appveyor.com
# https://ci.appveyor.com/projects
version: 1.0.{build}
image:
- Ubuntu
- macos
- Visual Studio 2019
branches:
except:
- gh-pages
platform:
- x64
configuration:
- Debug
- Release
for:
- matrix:
only:
- image: Ubuntu
platform: x64
environment:
CFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long"
CXXFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long"
build_script:
- cmake . -DCMAKE_BUILD_TYPE=$CONFIGURATION
- make VERBOSE=1
test_script:
- ctest
- matrix:
only:
- image: macos
platform: x64
environment:
CFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long"
CXXFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long"
build_script:
- cmake . -DCMAKE_BUILD_TYPE=$CONFIGURATION
- make VERBOSE=1
test_script:
- ctest
- matrix:
only:
- image: Visual Studio 2019
platform: x64
environment:
CFLAGS: "/W3 /WX"
CXXFLAGS: "/W3 /WX"
build_script:
- cmake . -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=%Configuration%
- cmake --build . --config %Configuration% --target install
test_script:
- ctest -C %Configuration%