|
10 | 10 |
|
11 | 11 | env: |
12 | 12 | UBSAN_OPTIONS: print_stacktrace=1 |
13 | | - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true |
14 | 13 |
|
15 | 14 | jobs: |
16 | 15 | posix: |
|
69 | 68 | address-model: 32,64 |
70 | 69 | - toolset: gcc-13 |
71 | 70 | cxxstd: "03,11,14,17,20,2b" |
72 | | - os: ubuntu-latest |
73 | | - container: ubuntu:23.04 |
| 71 | + os: ubuntu-24.04 |
74 | 72 | install: g++-13-multilib |
75 | 73 | address-model: 32,64 |
76 | 74 | - toolset: clang |
@@ -144,37 +142,40 @@ jobs: |
144 | 142 | - toolset: clang |
145 | 143 | compiler: clang++-16 |
146 | 144 | cxxstd: "03,11,14,17,20,2b" |
147 | | - container: ubuntu:23.04 |
148 | | - os: ubuntu-latest |
| 145 | + os: ubuntu-24.04 |
149 | 146 | install: clang-16 |
150 | 147 | - toolset: clang |
151 | 148 | compiler: clang++-17 |
152 | 149 | cxxstd: "03,11,14,17,20,2b" |
153 | | - container: ubuntu:23.10 |
154 | | - os: ubuntu-latest |
| 150 | + os: ubuntu-24.04 |
155 | 151 | install: clang-17 |
156 | | - - toolset: clang |
157 | | - cxxstd: "03,11,14,17,20,2b" |
158 | | - os: macos-12 |
159 | 152 | - toolset: clang |
160 | 153 | cxxstd: "03,11,14,17,20,2b" |
161 | 154 | os: macos-13 |
162 | 155 |
|
163 | 156 | runs-on: ${{matrix.os}} |
164 | | - container: ${{matrix.container}} |
| 157 | + container: |
| 158 | + image: ${{matrix.container}} |
| 159 | + volumes: |
| 160 | + - /node20217:/node20217:rw,rshared |
| 161 | + - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }} |
165 | 162 |
|
166 | 163 | defaults: |
167 | 164 | run: |
168 | 165 | shell: bash |
169 | 166 |
|
170 | 167 | steps: |
171 | | - - uses: actions/checkout@v3 |
172 | | - |
173 | 168 | - name: Setup container environment |
174 | 169 | if: matrix.container |
175 | 170 | run: | |
176 | 171 | apt-get update |
177 | | - apt-get -y install sudo python3 git g++ |
| 172 | + apt-get -y install sudo python3 git g++ curl |
| 173 | + if [[ "${{matrix.container}}" == "ubuntu:1"* ]]; then |
| 174 | + # Node 20 doesn't work with Ubuntu 16/18 glibc: https://github.com/actions/checkout/issues/1590 |
| 175 | + 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 |
| 176 | + fi |
| 177 | +
|
| 178 | + - uses: actions/checkout@v4 |
178 | 179 |
|
179 | 180 | - name: Install packages |
180 | 181 | if: matrix.install |
|
0 commit comments