@@ -19,99 +19,112 @@ jobs:
1919 include :
2020 - toolset : gcc-4.8
2121 cxxstd : " 11"
22- os : ubuntu-latest
2322 container : ubuntu:18.04
23+ os : ubuntu-latest
2424 install : g++-4.8
2525 - toolset : gcc-5
2626 cxxstd : " 11,14,1z"
27- os : ubuntu-latest
2827 container : ubuntu:18.04
28+ os : ubuntu-latest
2929 install : g++-5
3030 - toolset : gcc-6
3131 cxxstd : " 11,14,1z"
32- os : ubuntu-latest
3332 container : ubuntu:18.04
33+ os : ubuntu-latest
3434 install : g++-6
3535 - toolset : gcc-7
3636 cxxstd : " 11,14,17"
37- os : ubuntu-20.04
37+ container : ubuntu-20.04
38+ os : ubuntu-latest
3839 install : g++-7
3940 - toolset : gcc-8
4041 cxxstd : " 11,14,17,2a"
41- os : ubuntu-20.04
42+ container : ubuntu-20.04
43+ os : ubuntu-latest
4244 install : g++-8
4345 - toolset : gcc-9
4446 cxxstd : " 11,14,17,2a"
45- os : ubuntu-20.04
47+ container : ubuntu-20.04
48+ os : ubuntu-latest
4649 - toolset : gcc-10
4750 cxxstd : " 11,14,17,2a"
48- os : ubuntu-20.04
51+ container : ubuntu-20.04
52+ os : ubuntu-latest
4953 install : g++-10
5054 - toolset : gcc-11
5155 cxxstd : " 11,14,17,2a"
52- os : ubuntu-20.04
56+ container : ubuntu-20.04
57+ os : ubuntu-latest
5358 install : g++-11
5459 - toolset : gcc-12
5560 cxxstd : " 11,14,17,20,2b"
56- os : ubuntu-22.04
61+ container : ubuntu-22.04
62+ os : ubuntu-latest
5763 install : g++-12
5864 - toolset : gcc-13
5965 cxxstd : " 11,14,17,20,2b"
60- os : ubuntu-latest
6166 container : ubuntu:23.04
67+ os : ubuntu-latest
6268 install : g++-13
6369 - toolset : clang
6470 compiler : clang++-3.9
6571 cxxstd : " 11,14"
66- os : ubuntu-latest
6772 container : ubuntu:18.04
73+ os : ubuntu-latest
6874 install : clang-3.9
6975 - toolset : clang
7076 compiler : clang++-4.0
7177 cxxstd : " 11,14"
72- os : ubuntu-latest
7378 container : ubuntu:18.04
79+ os : ubuntu-latest
7480 install : clang-4.0
7581 - toolset : clang
7682 compiler : clang++-5.0
7783 cxxstd : " 11,14,1z"
78- os : ubuntu-latest
7984 container : ubuntu:18.04
85+ os : ubuntu-latest
8086 install : clang-5.0
8187 - toolset : clang
8288 compiler : clang++-6.0
8389 cxxstd : " 11,14,17"
84- os : ubuntu-20.04
90+ container : ubuntu-20.04
91+ os : ubuntu-latest
8592 install : clang-6.0
8693 - toolset : clang
8794 compiler : clang++-7
8895 cxxstd : " 11,14,17"
89- os : ubuntu-20.04
96+ container : ubuntu-20.04
97+ os : ubuntu-latest
9098 install : clang-7
9199 - toolset : clang
92100 compiler : clang++-8
93101 cxxstd : " 11,14,17"
94- os : ubuntu-20.04
102+ container : ubuntu-20.04
103+ os : ubuntu-latest
95104 install : clang-8
96105 - toolset : clang
97106 compiler : clang++-9
98107 cxxstd : " 11,14,17,2a"
99- os : ubuntu-20.04
108+ container : ubuntu-20.04
109+ os : ubuntu-latest
100110 install : clang-9
101111 - toolset : clang
102112 compiler : clang++-10
103113 cxxstd : " 11,14,17,2a"
104- os : ubuntu-20.04
114+ container : ubuntu-20.04
115+ os : ubuntu-latest
105116 install : clang-10
106117 - toolset : clang
107118 compiler : clang++-11
108119 cxxstd : " 11,14,17,2a"
109- os : ubuntu-20.04
120+ container : ubuntu-20.04
121+ os : ubuntu-latest
110122 install : clang-11
111123 - toolset : clang
112124 compiler : clang++-12
113125 cxxstd : " 11,14,17,2a"
114- os : ubuntu-20.04
126+ container : ubuntu-20.04
127+ os : ubuntu-latest
115128 install : clang-12
116129 - toolset : clang
117130 compiler : clang++-13
@@ -147,21 +160,29 @@ jobs:
147160 cxxstd : " 11,14,17,20,2b"
148161 os : macos-13
149162 - toolset : clang
150- cxxstd : " 11,14,17,20,23 "
163+ cxxstd : " 11,14,17,20,2b "
151164 os : macos-14
152165 - toolset : clang
153166 cxxstd : " 11,14,17,20,23"
154167 os : macos-15
155168
156169 runs-on : ${{matrix.os}}
157- container : ${{matrix.container}}
170+ container :
171+ image : ${{matrix.container}}
172+ volumes :
173+ - /node20217:/node20217:rw,rshared
174+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
158175
159176 defaults :
160177 run :
161178 shell : bash
162179
163180 steps :
164- - uses : actions/checkout@v3
181+ - name : Install nodejs20glibc2.17
182+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
183+ run : |
184+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
185+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
165186
166187 - name : Setup container environment
167188 if : matrix.container
@@ -175,6 +196,8 @@ jobs:
175196 sudo apt-get update
176197 sudo apt-get -y install ${{matrix.install}}
177198
199+ - uses : actions/checkout@v4
200+
178201 - name : Setup Boost
179202 run : |
180203 echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
0 commit comments