Skip to content

Commit 58884c2

Browse files
committed
Test libc++ in ci.yml
1 parent 7ec2584 commit 58884c2

File tree

1 file changed

+43
-25
lines changed

1 file changed

+43
-25
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,133 +59,151 @@ jobs:
5959
install: g++-12
6060
- toolset: gcc-13
6161
cxxstd: "11,14,17,20,2b"
62-
os: ubuntu-latest
6362
container: ubuntu:24.04
63+
os: ubuntu-latest
6464
install: g++-13
6565
- toolset: gcc-14
6666
cxxstd: "11,14,17,20,2b"
67-
os: ubuntu-latest
6867
container: ubuntu:24.04
68+
os: ubuntu-latest
6969
install: g++-14
7070
- toolset: gcc-15
7171
cxxstd: "11,14,17,20,23,2c"
72-
os: ubuntu-latest
7372
container: ubuntu:25.04
73+
os: ubuntu-latest
7474
install: g++-15
7575
- toolset: clang
7676
compiler: clang++-3.9
7777
cxxstd: "11,14"
78-
os: ubuntu-latest
7978
container: ubuntu:18.04
79+
os: ubuntu-latest
8080
install: clang-3.9
8181
- toolset: clang
8282
compiler: clang++-4.0
8383
cxxstd: "11,14"
84-
os: ubuntu-latest
84+
stdlib: "gnu11,libc++"
8585
container: ubuntu:18.04
86-
install: clang-4.0
86+
os: ubuntu-latest
87+
install: clang-4.0 libc++-4-dev
8788
- toolset: clang
8889
compiler: clang++-5.0
8990
cxxstd: "11,14,1z"
90-
os: ubuntu-latest
91+
stdlib: "gnu11,libc++"
9192
container: ubuntu:18.04
92-
install: clang-5.0
93+
os: ubuntu-latest
94+
install: clang-5.0 libc++-5-dev
9395
- toolset: clang
9496
compiler: clang++-6.0
9597
cxxstd: "11,14,17"
98+
stdlib: "gnu11,libc++"
9699
container: ubuntu:20.04
97100
os: ubuntu-latest
98-
install: clang-6.0
101+
install: clang-6.0 libc++-6-dev
99102
- toolset: clang
100103
compiler: clang++-7
101104
cxxstd: "11,14,17"
105+
stdlib: "gnu11,libc++"
102106
container: ubuntu:20.04
103107
os: ubuntu-latest
104-
install: clang-7
108+
install: clang-7 libc++-7-dev libc++abi-7-dev
105109
- toolset: clang
106110
compiler: clang++-8
107111
cxxstd: "11,14,17"
112+
stdlib: "gnu11,libc++"
108113
container: ubuntu:20.04
109114
os: ubuntu-latest
110-
install: clang-8
115+
install: clang-8 libc++-8-dev libc++abi-8-dev
111116
- toolset: clang
112117
compiler: clang++-9
113118
cxxstd: "11,14,17"
119+
stdlib: "gnu11,libc++"
114120
container: ubuntu:20.04
115121
os: ubuntu-latest
116-
install: clang-9
122+
install: clang-9 libc++-9-dev libc++abi-9-dev
117123
- toolset: clang
118124
compiler: clang++-10
119125
cxxstd: "11,14,17,2a"
126+
stdlib: "gnu11,libc++"
120127
container: ubuntu:20.04
121128
os: ubuntu-latest
122-
install: clang-10
129+
install: clang-10 libc++-10-dev libc++abi-10-dev
123130
- toolset: clang
124131
compiler: clang++-11
125132
cxxstd: "11,14,17,2a"
133+
stdlib: "gnu11,libc++"
126134
container: ubuntu:20.04
127135
os: ubuntu-latest
128-
install: clang-11
136+
install: clang-11 libc++-11-dev libc++abi-11-dev
129137
- toolset: clang
130138
compiler: clang++-12
131139
cxxstd: "11,14,17,20"
140+
stdlib: "gnu11,libc++"
132141
container: ubuntu:20.04
133142
os: ubuntu-latest
134-
install: clang-12
143+
install: clang-12 libc++-12-dev libc++abi-12-dev
135144
- toolset: clang
136145
compiler: clang++-13
137146
cxxstd: "11,14,17,20,2b"
147+
stdlib: "gnu11,libc++"
138148
container: ubuntu:22.04
139149
os: ubuntu-latest
140-
install: clang-13
150+
install: clang-13 libc++-13-dev libc++abi-13-dev
141151
- toolset: clang
142152
compiler: clang++-14
143153
cxxstd: "11,14,17,20,2b"
154+
stdlib: "gnu11,libc++"
144155
container: ubuntu:22.04
145156
os: ubuntu-latest
146-
install: clang-14
157+
install: clang-14 libc++-14-dev libc++abi-14-dev
147158
- toolset: clang
148159
compiler: clang++-15
149160
cxxstd: "11,14,17,20,2b"
150161
container: ubuntu:22.04
162+
stdlib: "gnu11,libc++"
151163
os: ubuntu-latest
152-
install: clang-15
164+
install: clang-15 libc++-15-dev libc++abi-15-dev
153165
- toolset: clang
154166
compiler: clang++-16
155167
cxxstd: "11,14,17,20,2b"
168+
stdlib: "gnu11,libc++"
156169
container: ubuntu:24.04
157170
os: ubuntu-latest
158-
install: clang-16
171+
install: clang-16 libc++-16-dev libc++abi-16-dev
159172
- toolset: clang
160173
compiler: clang++-17
161174
cxxstd: "11,14,17,20,2b"
175+
stdlib: "gnu11,libc++"
162176
container: ubuntu:24.04
163177
os: ubuntu-latest
164-
install: clang-17
178+
install: clang-17 libc++-17-dev libc++abi-17-dev
165179
- toolset: clang
166180
compiler: clang++-18
167181
cxxstd: "11,14,17,20,2b"
182+
stdlib: "gnu11,libc++"
168183
container: ubuntu:24.04
169184
os: ubuntu-latest
170-
install: clang-18
185+
install: clang-18 libc++-18-dev libc++abi-18-dev
171186
- toolset: clang
172187
compiler: clang++-19
173188
cxxstd: "11,14,17,20,2b"
189+
stdlib: "gnu11,libc++"
174190
container: ubuntu:24.04
175191
os: ubuntu-latest
176-
install: clang-19
192+
install: clang-19 libc++-19-dev libc++abi-19-dev
177193
- toolset: clang
178194
compiler: clang++-20
179195
cxxstd: "11,14,17,20,23,2c"
196+
stdlib: "gnu11,libc++"
180197
container: ubuntu:24.04
181198
os: ubuntu-latest
182-
install: clang-20
199+
install: clang-20 libc++-20-dev libc++abi-20-dev
183200
- toolset: clang
184201
compiler: clang++-21
185202
cxxstd: "11,14,17,20,23,2c"
203+
stdlib: "gnu11,libc++"
186204
container: ubuntu:25.10
187205
os: ubuntu-latest
188-
install: clang-21
206+
install: clang-21 libc++-21-dev libc++abi-21-dev
189207
- toolset: clang
190208
cxxstd: "11,14,17,20,2b"
191209
os: macos-14
@@ -260,7 +278,7 @@ jobs:
260278
- name: Run tests
261279
run: |
262280
cd ../boost-root
263-
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release
281+
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release ${{ matrix.stdlib && format('stdlib={0}', matrix.stdlib) }}
264282
265283
windows:
266284
strategy:

0 commit comments

Comments
 (0)