77 - master
88 - develop
99 - feature/**
10+ - fix/**
1011
1112env :
1213 UBSAN_OPTIONS : print_stacktrace=1
@@ -37,22 +38,26 @@ jobs:
3738 address-model : 32,64
3839 - toolset : gcc-7
3940 cxxstd : " 11,14,17"
40- os : ubuntu-20.04
41+ container : ubuntu:20.04
42+ os : ubuntu-latest
4143 install : g++-7-multilib
4244 address-model : 32,64
4345 - toolset : gcc-8
4446 cxxstd : " 11,14,17,2a"
45- os : ubuntu-20.04
47+ container : ubuntu:20.04
48+ os : ubuntu-latest
4649 install : g++-8-multilib
4750 address-model : 32,64
4851 - toolset : gcc-9
4952 cxxstd : " 11,14,17,2a"
50- os : ubuntu-20.04
53+ container : ubuntu:20.04
54+ os : ubuntu-latest
5155 install : g++-9-multilib
5256 address-model : 32,64
5357 - toolset : gcc-10
5458 cxxstd : " 11,14,17,2a"
55- os : ubuntu-20.04
59+ container : ubuntu:20.04
60+ os : ubuntu-latest
5661 install : g++-10-multilib
5762 address-model : 32,64
5863 - toolset : gcc-11
6772 address-model : 32,64
6873 - toolset : gcc-13
6974 cxxstd : " 11,14,17,20,2b"
70- container : ubuntu:23 .04
75+ container : ubuntu:24 .04
7176 os : ubuntu-latest
7277 install : g++-13-multilib
7378 address-model : 32,64
@@ -91,42 +96,52 @@ jobs:
9196 install : clang-4.0
9297 - toolset : clang
9398 compiler : clang++-5.0
94- cxxstd : " 11,14,1z "
99+ cxxstd : " 11,14"
95100 os : ubuntu-latest
96101 container : ubuntu:18.04
97102 install : clang-5.0
98103 - toolset : clang
99104 compiler : clang++-6.0
100105 cxxstd : " 11,14,17"
101- os : ubuntu-20.04
106+ os : ubuntu-latest
107+ container : ubuntu:18.04
102108 install : clang-6.0
103109 - toolset : clang
104110 compiler : clang++-7
105111 cxxstd : " 11,14,17"
106- os : ubuntu-20.04
112+ os : ubuntu-latest
113+ container : ubuntu:18.04
107114 install : clang-7
108115 - toolset : clang
109116 compiler : clang++-8
110117 cxxstd : " 11,14,17"
111- os : ubuntu-20.04
118+ os : ubuntu-latest
119+ container : ubuntu:20.04
112120 install : clang-8
113121 - toolset : clang
114122 compiler : clang++-9
115123 cxxstd : " 11,14,17,2a"
116- os : ubuntu-20.04
124+ os : ubuntu-latest
125+ container : ubuntu:20.04
117126 install : clang-9
118127 - toolset : clang
119128 compiler : clang++-10
120129 cxxstd : " 11,14,17,2a"
121- os : ubuntu-20.04
130+ os : ubuntu-latest
131+ container : ubuntu:20.04
132+ install : clang-10
122133 - toolset : clang
123134 compiler : clang++-11
124135 cxxstd : " 11,14,17,2a"
125- os : ubuntu-20.04
136+ os : ubuntu-latest
137+ container : ubuntu:20.04
138+ install : clang-11
126139 - toolset : clang
127140 compiler : clang++-12
128141 cxxstd : " 11,14,17,20"
129- os : ubuntu-20.04
142+ os : ubuntu-latest
143+ container : ubuntu:20.04
144+ install : clang-12
130145 - toolset : clang
131146 compiler : clang++-13
132147 cxxstd : " 11,14,17,20,2b"
@@ -148,13 +163,13 @@ jobs:
148163 - toolset : clang
149164 compiler : clang++-16
150165 cxxstd : " 11,14,17,20,2b"
151- container : ubuntu:23 .04
166+ container : ubuntu:24 .04
152167 os : ubuntu-latest
153168 install : clang-16
154169 - toolset : clang
155170 compiler : clang++-17
156171 cxxstd : " 11,14,17,20,2b"
157- container : ubuntu:23.10
172+ container : ubuntu:24.04
158173 os : ubuntu-latest
159174 install : clang-17
160175 - toolset : clang
@@ -163,9 +178,6 @@ jobs:
163178 container : ubuntu:24.04
164179 os : ubuntu-latest
165180 install : clang-18
166- - toolset : clang
167- cxxstd : " 11,14,17,20,2b"
168- os : macos-12
169181 - toolset : clang
170182 cxxstd : " 11,14,17,20,2b"
171183 os : macos-13
@@ -174,25 +186,33 @@ jobs:
174186 os : macos-14
175187
176188 runs-on : ${{matrix.os}}
177- container : ${{matrix.container}}
189+ container :
190+ image : ${{matrix.container}}
191+ volumes :
192+ - /node20217:/node20217:rw,rshared
193+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
178194
179195 defaults :
180196 run :
181197 shell : bash
182198
183199 steps :
200+ - name : Setup container environment
201+ if : matrix.container
202+ run : |
203+ apt-get update
204+ apt-get -y install sudo python3 git g++ curl xz-utils
205+ if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then
206+ # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590
207+ curl -sL https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz | tar -xJ --strip-components 1 -C /node20217
208+ fi
209+
184210 - name : Enable Node 16
185211 run : |
186212 echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
187213
188214 - uses : actions/checkout@v3
189215
190- - name : Setup container environment
191- if : matrix.container
192- run : |
193- apt-get update
194- apt-get -y install sudo python3 git g++
195-
196216 - name : Install packages
197217 if : matrix.install
198218 run : |
@@ -237,14 +257,6 @@ jobs:
237257 fail-fast : false
238258 matrix :
239259 include :
240- - toolset : msvc-14.0
241- cxxstd : 14,latest
242- addrmd : 32,64
243- os : windows-2019
244- - toolset : msvc-14.2
245- cxxstd : " 14,17,20,latest"
246- addrmd : 32,64
247- os : windows-2019
248260 - toolset : msvc-14.3
249261 cxxstd : " 14,17,20,latest"
250262 addrmd : 32,64
@@ -256,7 +268,7 @@ jobs:
256268 - toolset : gcc
257269 cxxstd : " 11,14,17,2a"
258270 addrmd : 64
259- os : windows-2019
271+ os : windows-2022
260272
261273 runs-on : ${{matrix.os}}
262274
0 commit comments