26
26
- " .github/workflows/os_comp.yml"
27
27
- " run*tests.py"
28
28
29
- # make GHA actions use node16 which still works with bionic
30
- # See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
31
- # Unclear how long this will work though
32
- env :
33
- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
34
-
35
29
permissions :
36
30
contents : read
37
31
@@ -49,13 +43,24 @@ jobs:
49
43
- { name: Gentoo, id: gentoo }
50
44
- { name: OpenSUSE, id: opensuse }
51
45
- { name: Ubuntu Bionic, id: bionic }
52
- container : mesonbuild/${{ matrix.cfg.id }}:latest
46
+ container :
47
+ image : mesonbuild/${{ matrix.cfg.id }}:latest
48
+ volumes :
49
+ - ${{ matrix.cfg.id == 'bionic' && '/node20217:/node20217:rw,rshared' || ' ' }}
50
+ - ${{ matrix.cfg.id == 'bionic' && '/node20217:/__e/node20:ro,rshared' || ' ' }}
53
51
env :
54
52
MESON_CI_JOBNAME : linux-${{ matrix.cfg.id }}-gcc
55
53
56
54
steps :
57
- # Need v3 because of bionic
58
- - uses : actions/checkout@v3
55
+ - name : install nodejs20glibc2.17
56
+ if : ${{ matrix.cfg.id == 'bionic' }}
57
+ run : |
58
+ apt install curl -y
59
+ curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
60
+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
61
+ ldd /__e/node20/bin/node
62
+ - uses : actions/checkout@v4
63
+
59
64
- name : Run tests
60
65
# All environment variables are stored inside the docker image in /ci/env_vars.sh
61
66
# They are defined in the `env` section in each image.json. CI_ARGS should be set
0 commit comments