-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
65 lines (57 loc) · 1.75 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
61
62
63
64
65
# Automated testing using appveyor.com
# https://ci.appveyor.com/projects
version: 1.0.{build}
image:
- Ubuntu
- Ubuntu2004
- macos
branches:
except:
- gh-pages
platform:
- x64
configuration:
- Debug
- Release
for:
# Test using GCC sanitizers
- matrix:
only:
- image: Ubuntu
platform: x64
configuration: Debug
environment:
CFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
CXXFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
build_script:
- cmake . -DCMAKE_BUILD_TYPE=$CONFIGURATION
- make VERBOSE=1
test_script:
- ./primesum --test
- matrix:
only:
- image: Ubuntu
platform: x64
configuration: Release
environment:
CFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces"
CXXFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces"
build_script:
- cmake . -DCMAKE_BUILD_TYPE=$CONFIGURATION -DCMAKE_INSTALL_PREFIX=$(pwd)
- make VERBOSE=1
- make install
test_script:
- ./primesum --test
- matrix:
only:
- image: macos
platform: x64
environment:
CFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces"
CXXFLAGS: "-Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-missing-braces"
build_script:
- cmake . -DCMAKE_BUILD_TYPE=$CONFIGURATION -DCMAKE_INSTALL_PREFIX=$(pwd)
- make VERBOSE=1
- make install
test_script:
- ./primesum --test