File tree 1 file changed +16
-8
lines changed
1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -162,24 +162,32 @@ jobs:
162
162
os : macos-15
163
163
164
164
runs-on : ${{matrix.os}}
165
- container : ${{matrix.container}}
165
+
166
+ container :
167
+ image : ${{matrix.container}}
168
+ volumes :
169
+ - /node20217:/node20217:rw,rshared
170
+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
166
171
167
172
defaults :
168
173
run :
169
174
shell : bash
170
175
171
176
steps :
172
- - name : Enable Node 16
173
- run : |
174
- echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
175
-
176
- - uses : actions/checkout@v3
177
-
178
177
- name : Setup container environment
179
178
if : matrix.container
180
179
run : |
181
180
apt-get update
182
- apt-get -y install sudo python3 git g++
181
+ apt-get -y install sudo python3 git g++ curl xz-utils
182
+
183
+ - name : Install nodejs20glibc2.17
184
+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
185
+ run : |
186
+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
187
+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
188
+ ldd /__e/node20/bin/node
189
+
190
+ - uses : actions/checkout@v4
183
191
184
192
- name : Install packages
185
193
if : matrix.install
You can’t perform that action at this time.
0 commit comments