Skip to content

Commit 56ba602

Browse files
committed
Test libc++ in ci.yml
1 parent 7ec2584 commit 56ba602

1 file changed

Lines changed: 37 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -59,36 +59,36 @@ 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
8584
container: ubuntu:18.04
85+
os: ubuntu-latest
8686
install: clang-4.0
8787
- toolset: clang
8888
compiler: clang++-5.0
8989
cxxstd: "11,14,1z"
90-
os: ubuntu-latest
9190
container: ubuntu:18.04
91+
os: ubuntu-latest
9292
install: clang-5.0
9393
- toolset: clang
9494
compiler: clang++-6.0
@@ -99,93 +99,108 @@ jobs:
9999
- toolset: clang
100100
compiler: clang++-7
101101
cxxstd: "11,14,17"
102+
stdlib: "native,libc++"
102103
container: ubuntu:20.04
103104
os: ubuntu-latest
104-
install: clang-7
105+
install: clang-7 libc++-7-dev libc++abi-7-dev
105106
- toolset: clang
106107
compiler: clang++-8
107108
cxxstd: "11,14,17"
109+
stdlib: "native,libc++"
108110
container: ubuntu:20.04
109111
os: ubuntu-latest
110-
install: clang-8
112+
install: clang-8 libc++-8-dev libc++abi-8-dev
111113
- toolset: clang
112114
compiler: clang++-9
113115
cxxstd: "11,14,17"
116+
stdlib: "native,libc++"
114117
container: ubuntu:20.04
115118
os: ubuntu-latest
116-
install: clang-9
119+
install: clang-9 libc++-9-dev libc++abi-9-dev
117120
- toolset: clang
118121
compiler: clang++-10
119122
cxxstd: "11,14,17,2a"
123+
stdlib: "native,libc++"
120124
container: ubuntu:20.04
121125
os: ubuntu-latest
122-
install: clang-10
126+
install: clang-10 libc++-10-dev libc++abi-10-dev
123127
- toolset: clang
124128
compiler: clang++-11
125129
cxxstd: "11,14,17,2a"
130+
stdlib: "native,libc++"
126131
container: ubuntu:20.04
127132
os: ubuntu-latest
128-
install: clang-11
133+
install: clang-11 libc++-11-dev libc++abi-11-dev
129134
- toolset: clang
130135
compiler: clang++-12
131136
cxxstd: "11,14,17,20"
137+
stdlib: "native,libc++"
132138
container: ubuntu:20.04
133139
os: ubuntu-latest
134-
install: clang-12
140+
install: clang-12 libc++-12-dev libc++abi-12-dev
135141
- toolset: clang
136142
compiler: clang++-13
137143
cxxstd: "11,14,17,20,2b"
144+
stdlib: "native,libc++"
138145
container: ubuntu:22.04
139146
os: ubuntu-latest
140-
install: clang-13
147+
install: clang-13 libc++-13-dev libc++abi-13-dev
141148
- toolset: clang
142149
compiler: clang++-14
143150
cxxstd: "11,14,17,20,2b"
151+
stdlib: "native,libc++"
144152
container: ubuntu:22.04
145153
os: ubuntu-latest
146-
install: clang-14
154+
install: clang-14 libc++-14-dev libc++abi-14-dev
147155
- toolset: clang
148156
compiler: clang++-15
149157
cxxstd: "11,14,17,20,2b"
150158
container: ubuntu:22.04
159+
stdlib: "native,libc++"
151160
os: ubuntu-latest
152-
install: clang-15
161+
install: clang-15 libc++-15-dev libc++abi-15-dev
153162
- toolset: clang
154163
compiler: clang++-16
155164
cxxstd: "11,14,17,20,2b"
165+
stdlib: "native,libc++"
156166
container: ubuntu:24.04
157167
os: ubuntu-latest
158-
install: clang-16
168+
install: clang-16 libc++-16-dev libc++abi-16-dev
159169
- toolset: clang
160170
compiler: clang++-17
161171
cxxstd: "11,14,17,20,2b"
172+
stdlib: "native,libc++"
162173
container: ubuntu:24.04
163174
os: ubuntu-latest
164-
install: clang-17
175+
install: clang-17 libc++-17-dev libc++abi-17-dev
165176
- toolset: clang
166177
compiler: clang++-18
167178
cxxstd: "11,14,17,20,2b"
179+
stdlib: "native,libc++"
168180
container: ubuntu:24.04
169181
os: ubuntu-latest
170-
install: clang-18
182+
install: clang-18 libc++-18-dev libc++abi-18-dev
171183
- toolset: clang
172184
compiler: clang++-19
173185
cxxstd: "11,14,17,20,2b"
186+
stdlib: "native,libc++"
174187
container: ubuntu:24.04
175188
os: ubuntu-latest
176-
install: clang-19
189+
install: clang-19 libc++-19-dev libc++abi-19-dev
177190
- toolset: clang
178191
compiler: clang++-20
179192
cxxstd: "11,14,17,20,23,2c"
193+
stdlib: "native,libc++"
180194
container: ubuntu:24.04
181195
os: ubuntu-latest
182-
install: clang-20
196+
install: clang-20 libc++-20-dev libc++abi-20-dev
183197
- toolset: clang
184198
compiler: clang++-21
185199
cxxstd: "11,14,17,20,23,2c"
200+
stdlib: "native,libc++"
186201
container: ubuntu:25.10
187202
os: ubuntu-latest
188-
install: clang-21
203+
install: clang-21 libc++-21-dev libc++abi-21-dev
189204
- toolset: clang
190205
cxxstd: "11,14,17,20,2b"
191206
os: macos-14
@@ -260,7 +275,7 @@ jobs:
260275
- name: Run tests
261276
run: |
262277
cd ../boost-root
263-
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release
278+
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release ${{ matrix.stdlib && format('stdlib={0}', matrix.stdlib) }}
264279
265280
windows:
266281
strategy:

0 commit comments

Comments
 (0)