Skip to content

Commit 1386d71

Browse files
committed
Use Rocky Linux 8 for glibc builds (glibc 2.28)
Refs: lmdbjava/lmdbjava#280
1 parent 9159ccc commit 1386d71

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
# Container versions: debian:bookworm = glibc 2.36, alpine:3.21 = musl
19+
# Container versions: rockylinux:8 = glibc 2.28, alpine:3.21 = musl
2020
include:
21-
- { runner: ubuntu-latest, container: "debian:bookworm", artifact: x86_64-linux-gnu.so }
22-
- { runner: ubuntu-24.04-arm, container: "debian:bookworm", artifact: aarch64-linux-gnu.so }
21+
- { runner: ubuntu-latest, container: "rockylinux:8", artifact: x86_64-linux-gnu.so }
22+
- { runner: ubuntu-24.04-arm, container: "rockylinux:8", artifact: aarch64-linux-gnu.so }
2323
- { runner: ubuntu-latest, container: "alpine:3.21", artifact: x86_64-linux-musl.so }
2424
runs-on: ${{ matrix.runner }}
2525
container: ${{ matrix.container }}
2626
steps:
2727
- name: Install tools
2828
run: |
29-
if command -v apt-get >/dev/null; then
30-
apt-get update && apt-get install -y build-essential git
31-
else
29+
if command -v dnf >/dev/null; then
30+
dnf install -y gcc make git
31+
elif command -v apk >/dev/null; then
3232
apk add --no-cache build-base git
3333
fi
3434
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)