Skip to content

Commit

Permalink
fix: use older glibc for linux-x64 builds (#200)
Browse files Browse the repository at this point in the history
Before this change, the release builds of `zinniad` were crashing
on certain Linux distros (Debian Bullseye in `node:18` Docker image)
providing an older glibc version.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored May 3, 2023
1 parent f174b94 commit 0fb5b3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
name: linux-x64.tar.gz
# Build using `cross` to link against an older `glibc` version that's compatible
# with more Linux distros. When building on `ubuntu-latest`, we link against the
# latest glibc version, and `zinniad` cannot start e.g. in `node:18` Docker image
# based on Debian Bullseye distro.
builder: cross

- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
Expand Down

0 comments on commit 0fb5b3c

Please sign in to comment.