Skip to content

Commit 69b6ad0

Browse files
committed
Build with older glibc
1 parent 7a67df1 commit 69b6ad0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ jobs:
99
if: github.event_name == 'create' && github.event.ref_type == 'tag'
1010
name: Release
1111
runs-on: [self-hosted, linux, x64, kvm]
12+
container:
13+
# Use older ubuntu for older glibc so there's better compatibility
14+
# with guest VM glibc versions for the DKMS build tools.
15+
image: ubuntu:22.04
1216
steps:
1317
- name: Code checkout
1418
uses: actions/checkout@v4
1519
with:
1620
fetch-depth: 1
1721
- name: Install build tools
18-
run: sudo apt install -y build-essential flex bison libssl-dev libelf-dev bc gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu
22+
run: |
23+
apt-get update
24+
apt-get install -y build-essential flex bison libssl-dev libelf-dev bc \
25+
gcc-aarch64-linux-gnu gcc-riscv64-linux-gnu wget git rsync cpio kmod
1926
- name: Configure (aarch64)
2027
run: ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make ch_defconfig
2128
- name: Build (aarch64)

0 commit comments

Comments
 (0)