forked from lefticus/cpp_box
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
118 lines (111 loc) · 2.99 KB
/
.cirrus.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
task:
name: gcc8-Release-FullBuild
container:
image: conanio/gcc8
build_script:
- sudo apt-get update
- sudo apt-get install --assume-yes libbz2-dev libpng-dev libfreetype6-dev libz-dev git
- pwd
- gcc-8 --version
- cmake --version
- conan --version
- export CXX=`which g++-8`
- export CC=`which gcc-8`
- mkdir build
- cd build
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- cmake -D CMAKE_BUILD_TYPE:STRING=Release ..
- VERBOSE=1 cmake --build . -- -j2
test_script:
- pwd
- cd build
- ctest -j2
task:
name: gcc8-Debug-FullBuild
container:
image: conanio/gcc8
build_script:
- sudo apt-get update
- sudo apt-get install --assume-yes libbz2-dev libpng-dev libfreetype6-dev libz-dev git
- pwd
- gcc-8 --version
- cmake --version
- conan --version
- export CXX=`which g++-8`
- export CC=`which gcc-8`
- mkdir build
- cd build
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- cmake -D CMAKE_BUILD_TYPE:STRING=Debug ..
- VERBOSE=1 cmake --build . -- -j2
test_script:
- pwd
- cd build
- ctest -j2
task:
name: clang7-Release-FullBuild-libstdc++
container:
image: conanio/clang7
build_script:
- sudo apt-get update
- sudo apt-get install --assume-yes libbz2-dev libpng-dev libfreetype6-dev libz-dev git
- pwd
- clang++ --version
- cmake --version
- conan --version
- export CXX=`which clang++`
- export CC=`which clang`
- mkdir build
- cd build
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- cmake -D CMAKE_BUILD_TYPE:STRING=Release ..
- VERBOSE=1 cmake --build . -- -j2
test_script:
- pwd
- cd build
- ctest -j2
task:
name: clang7-Debug-FullBuild-libstdc++
container:
image: conanio/clang7
build_script:
- sudo apt-get update
- sudo apt-get install --assume-yes libbz2-dev libpng-dev libfreetype6-dev libz-dev git
- pwd
- clang++ --version
- cmake --version
- conan --version
- export CXX=`which clang++`
- export CC=`which clang`
- mkdir build
- cd build
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- cmake -D CMAKE_BUILD_TYPE:STRING=Debug ..
- VERBOSE=1 cmake --build . -- -j2
test_script:
- pwd
- cd build
- ctest -j2
task:
name: clang7-Debug-ClangTidy-libstdc++
container:
image: conanio/clang7
build_script:
- sudo apt-get update
- sudo apt-get install --assume-yes libbz2-dev libpng-dev libfreetype6-dev libz-dev git clang-tidy-7
- pwd
- clang++ --version
- ls /usr/bin/clang*
- cmake --version
- conan --version
- export CXX=`which clang++`
- export CC=`which clang`
- mkdir build
- cd build
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- cmake -D CLANGTIDY:PATH=`which clang-tidy-7` -D ENABLE_CLANG_TIDY:BOOL=ON -D CMAKE_BUILD_TYPE:STRING=Debug ..
- VERBOSE=1 cmake --build . -- -j2
test_script:
- pwd
- cd build
- ctest -j2