File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
posix :
16
+ defaults :
17
+ run :
18
+ shell : bash
19
+
16
20
strategy :
17
21
fail-fast : false
18
22
matrix :
39
43
cxxstd : 20
40
44
os : ubuntu-22.04
41
45
install : clang-15
42
- - toolset : clang
43
- os : macos-11
44
- cxxstd : 11
45
46
- toolset : clang
46
47
os : macos-12
47
48
cxxstd : 14
@@ -50,20 +51,28 @@ jobs:
50
51
cxxstd : 17
51
52
52
53
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' || ' ' }}
54
59
55
60
defaults :
56
61
run :
57
62
shell : bash
58
63
59
64
steps :
60
- - uses : actions/checkout@v3
61
-
62
65
- name : Setup container environment
63
66
if : matrix.container
64
67
run : |
65
68
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
67
76
68
77
- name : Install packages
69
78
if : matrix.install
You can’t perform that action at this time.
0 commit comments