22
22
NET_RETRY_COUNT : 5
23
23
DEFAULT_BUILD_VARIANT : debug,release
24
24
B2_CI_VERSION : 1
25
- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
26
25
27
26
jobs :
28
27
posix :
@@ -286,7 +285,11 @@ jobs:
286
285
287
286
timeout-minutes : 60
288
287
runs-on : ${{matrix.os}}
289
- container : ${{matrix.container}}
288
+ container :
289
+ image : ${{matrix.container}}
290
+ volumes :
291
+ - /node20217:/node20217:rw,rshared
292
+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
290
293
291
294
steps :
292
295
- name : Setup environment
@@ -310,9 +313,13 @@ jobs:
310
313
fi
311
314
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common tzdata wget curl apt-transport-https ca-certificates make build-essential g++ $PYTHON_PACKAGE python3 perl git cmake
312
315
fi
316
+ if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then
317
+ # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590
318
+ 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
319
+ fi
313
320
fi
314
321
git config --global pack.threads 0
315
- - uses : actions/checkout@v3
322
+ - uses : actions/checkout@v4
316
323
317
324
- name : Install packages
318
325
if : matrix.install
@@ -562,7 +569,7 @@ jobs:
562
569
563
570
- name : Install packages
564
571
if : matrix.install
565
- run : sudo apt install ${{matrix.install}}
572
+ run : sudo apt-get -y install ${{matrix.install}}
566
573
567
574
- name : Setup Boost
568
575
run : |
@@ -611,7 +618,7 @@ jobs:
611
618
612
619
- name : Install packages
613
620
if : matrix.install
614
- run : sudo apt install ${{matrix.install}}
621
+ run : sudo apt-get -y install ${{matrix.install}}
615
622
616
623
- name : Setup Boost
617
624
run : |
@@ -670,7 +677,7 @@ jobs:
670
677
671
678
- name : Install packages
672
679
if : matrix.install
673
- run : sudo apt install ${{matrix.install}}
680
+ run : sudo apt-get -y install ${{matrix.install}}
674
681
675
682
- name : Setup Boost
676
683
run : |
0 commit comments