Skip to content

Commit

Permalink
release: change ubuntu-x86 target to musl (directly to master)
Browse files Browse the repository at this point in the history
This will avoid nasty bugs with glibc using dlopen for libnss
and causing segfault if library versions are different.
  • Loading branch information
aleasims committed Dec 17, 2024
1 parent db83cce commit 0b2c442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- build: ubuntu-x86
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
target: x86_64-unknown-linux-musl
# - build: ubuntu-aarch64
# os: ubuntu-latest
# rust: stable
Expand All @@ -105,7 +105,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |-
sudo apt-get update
sudo apt-get install -y openssl ca-certificates pkg-config cmake libssl-dev
sudo apt-get install -y build-essential musl-tools
- name: Install packages (MacOS)
if: matrix.os == 'macos-latest'
Expand All @@ -131,7 +131,7 @@ jobs:

- name: Use Cross
# Build without Cross for native target
if: matrix.os == 'ubuntu-latest' && matrix.target != 'x86_64-unknown-linux-gnu'
if: matrix.os == 'ubuntu-latest' && matrix.target != 'x86_64-unknown-linux-musl'
run: |
# In the past, new releases of 'cross' have broken CI. So for now, we
# pin it. We also use their pre-compiled binary releases because cross
Expand Down

0 comments on commit 0b2c442

Please sign in to comment.