-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
156 lines (144 loc) · 4.45 KB
/
.travis.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
language: minimal
stages:
- setup
- run_tests
jobs:
include:
- stage: setup
name: "Linux clang 11, gcc 10"
os: linux
dist: focal
addons: &clang11
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
packages:
- g++-10
- gcc-10
- clang-11
- libc++-11-dev
- libc++abi-11-dev
- git
- python3.8
- python3-pip
script:
- sudo apt remove --purge cmake -y
- sudo snap install cmake --classic
- pip3 install conan
- pip3 install parameterized
- clang-11 --version
- cmake --version
- python3 --version
- whereis cmake
- echo "PATH=${PATH}"
- wget https://cmake.org/files/v3.20/cmake-3.20.5-linux-x86_64.tar.gz
- tar -xzf cmake-3.20.5-linux-x86_64.tar.gz
- export PATH="`pwd`/cmake-3.20.5-linux-x86_64/bin:${PATH}"
- cmake --version
- whereis cmake
- wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
- unzip ninja-linux.zip
- mkdir ninja_dir
- mv ninja ninja_dir
- export PATH="`pwd`/ninja_dir:${PATH}"
- cd buildSystemTests && python3 runTests.py
- stage: setup
name: "MacOS clang 12, gcc-10"
os: osx
osx_image: xcode12.5
addons:
homebrew:
packages:
- gcc@10
- ninja
script:
- pip3 install conan
- pip3 install parameterized
- gcc-10 --version
- g++-10 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestSingleExe"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestSingleExe
- stage: run_tests
name: "Linux clang 11, gcc 10 - run ParameterTestSingleExe"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py ParameterTestSingleExe
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestCMakeDefine"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestCMakeDefine
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestCompilerProfileExe"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestCompilerProfileExe
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestMultitargetProject"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestMultitargetProject
- stage: run_tests
name: "Linux clang 11, gcc 10 - run ParameterTestBenchmarksTest"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py ParameterTestBenchmarksTest
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestBenchmarksTest"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestBenchmarksTest
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestSanitizerIssue"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestSanitizerIssue
- stage: run_tests
name: "Linux clang 11, gcc 10 - run TestDoxygen"
os: linux
dist: focal
script:
- clang-11 --version
- cmake --version
- python3 --version
- cd buildSystemTests && python3 runTests.py TestDoxygen