Skip to content

Commit 93fbf4d

Browse files
committed
Increase testing matrix.
Add 32-bit x86-Linux builds. Add building with the nightly LLVM releases. There are some regressions since LLVM 8 that would have been caught by this that we can hopefully fix in time for the LLVM 12 release.
1 parent a088282 commit 93fbf4d

File tree

1 file changed

+80
-14
lines changed

1 file changed

+80
-14
lines changed

azure-pipelines.yml

Lines changed: 80 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,104 @@ jobs:
55
vmImage: ubuntu-18.04
66
strategy:
77
matrix:
8-
Debug:
8+
Debug-64-llvm-8-libc++:
99
BuildType: Debug
10-
StdLib: libstdc++
11-
CxxFlags: ""
12-
Release:
10+
Flags: -m64
11+
StdLib: libc++
12+
LLVM: -8
13+
Release-64-llvm-8-libc++:
1314
BuildType: Release
14-
StdLib: libstdc++
15-
CxxFlags: ""
16-
Debug-libc++:
15+
Flags: -m64
16+
StdLib: libc++
17+
LLVM: -8
18+
Debug-32-llvm-8-libc++:
19+
BuildType: Debug
20+
Flags: -m32
21+
StdLib: libc++
22+
LLVM: -8
23+
Release-32-llvm-8-libc++:
24+
BuildType: Release
25+
Flags: -m32
26+
StdLib: libc++
27+
LLVM: -8
28+
Debug-64-llvm-12-libc++:
1729
BuildType: Debug
30+
Flags: -m64
1831
StdLib: libc++
19-
CxxFlags: "-stdlib=libc++"
20-
Release-libc++:
32+
LLVM:
33+
Release-64-llvm-12-libc++:
2134
BuildType: Release
35+
Flags: -m64
36+
StdLib: libc++
37+
LLVM:
38+
Debug-32-llvm-12-libc++:
39+
BuildType: Debug
40+
Flags: -m32
2241
StdLib: libc++
23-
CxxFlags: "-stdlib=libc++"
42+
LLVM:
43+
Release-32-llvm-12-libc++:
44+
BuildType: Release
45+
Flags: -m32
46+
StdLib: libc++
47+
LLVM:
48+
Debug-64-llvm-8-libstdc++:
49+
BuildType: Debug
50+
Flags: -m64
51+
StdLib: libstdc++
52+
LLVM: -8
53+
Release-64-llvm-8-libstdc++:
54+
BuildType: Release
55+
Flags: -m64
56+
StdLib: libstdc++
57+
LLVM: -8
58+
Debug-32-llvm-8-libstdc++:
59+
BuildType: Debug
60+
Flags: -m32
61+
StdLib: libstdc++
62+
LLVM: -8
63+
Release-32-llvm-8-libstdc++:
64+
BuildType: Release
65+
Flags: -m32
66+
StdLib: libstdc++
67+
LLVM: -8
68+
Debug-64-llvm-12-libstdc++:
69+
BuildType: Debug
70+
Flags: -m64
71+
StdLib: libstdc++
72+
LLVM:
73+
Release-64-llvm-12-libstdc++:
74+
BuildType: Release
75+
Flags: -m64
76+
StdLib: libstdc++
77+
LLVM:
78+
Debug-32-llvm-12-libstdc++:
79+
BuildType: Debug
80+
Flags: -m32
81+
StdLib: libstdc++
82+
LLVM:
83+
Release-32-llvm-12-libstdc++:
84+
BuildType: Release
85+
Flags: -m32
86+
StdLib: libstdc++
87+
LLVM:
2488
steps:
2589
- checkout: self
2690
submodules: true
2791
- script: |
28-
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
92+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
93+
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic$(LLVM) main"
2994
sudo apt-get update
30-
sudo apt-get install -y ninja-build clang-8
95+
sudo apt-get install -y ninja-build
96+
sudo apt-get install -y -t llvm-toolchain-bionic$(LLVM) clang$(LLVM)
3197
if [ "$(StdLib)" = "libc++" ]; then
32-
sudo apt-get install -qy libc++-8-dev libc++abi-8-dev
98+
sudo apt-get install -y -t llvm-toolchain-bionic$(LLVM) libc++$(LLVM)-dev libc++abi$(LLVM)-dev
3399
fi
34100
displayName: Install Dependencies
35101
36102
- task: CMake@1
37103
displayName: Generate Build Scripts
38104
inputs:
39-
cmakeArgs: '.. -GNinja -DCMAKE_BUILD_TYPE=$(BuildType) -DTESTS=ON -DCMAKE_CXX_COMPILER=clang++-8 -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_FLAGS="$(CxxFlags)"'
105+
cmakeArgs: '.. -GNinja -DCMAKE_BUILD_TYPE=$(BuildType) -DTESTS=ON -DCMAKE_CXX_COMPILER=clang++$(LLVM) -DCMAKE_C_COMPILER=clang$(LLVM) -DCMAKE_CXX_FLAGS="-stdlib=$(StdLib)"'
40106

41107
- script: |
42108
ninja

0 commit comments

Comments
 (0)