File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
1515 posix :
16+ defaults :
17+ run :
18+ shell : bash
19+
1620 strategy :
1721 fail-fast : false
1822 matrix :
3943 cxxstd : 20
4044 os : ubuntu-22.04
4145 install : clang-15
42- - toolset : clang
43- os : macos-11
44- cxxstd : 11
4546 - toolset : clang
4647 os : macos-12
4748 cxxstd : 14
@@ -50,20 +51,28 @@ jobs:
5051 cxxstd : 17
5152
5253 runs-on : ${{matrix.os}}
53- container : ${{matrix.container}}
54+ container :
55+ image : ${{matrix.container}}
56+ volumes :
57+ - /node20217:/node20217:rw,rshared
58+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
5459
5560 defaults :
5661 run :
5762 shell : bash
5863
5964 steps :
60- - uses : actions/checkout@v3
61-
6265 - name : Setup container environment
6366 if : matrix.container
6467 run : |
6568 apt-get update
66- apt-get -y install sudo python3 git g++
69+ apt-get -y install sudo python3 git g++ curl
70+ if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then
71+ # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590
72+ 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
73+ fi
74+
75+ - uses : actions/checkout@v4
6776
6877 - name : Install packages
6978 if : matrix.install
You can’t perform that action at this time.
0 commit comments