Skip to content

Commit 4372dbd

Browse files
aykevldeadprogram
authored andcommitted
ci: use older image for cross-compiling builds
This ensures that the resulting binaries are compatible with a wide range of Linux systems, not just the most recent ones.
1 parent 17bb1fe commit 4372dbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ jobs:
297297
- goarch: arm
298298
toolchain: arm-linux-gnueabihf
299299
libc: armhf
300-
runs-on: ubuntu-latest
300+
runs-on: ubuntu-22.04 # note: use the oldest image available! (see above)
301301
needs: build-linux
302302
steps:
303303
- name: Checkout
@@ -346,7 +346,7 @@ jobs:
346346
uses: actions/cache/restore@v4
347347
id: cache-llvm-build
348348
with:
349-
key: llvm-build-19-linux-${{ matrix.goarch }}-v2
349+
key: llvm-build-19-linux-${{ matrix.goarch }}-v3
350350
path: llvm-build
351351
- name: Build LLVM
352352
if: steps.cache-llvm-build.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)