Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
ci: build binaries using glibc instead of musl
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Mar 22, 2024
1 parent 8e7bb26 commit ce8f138
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
targets: |
x86_64-unknown-linux-musl
aarch64-unknown-linux-musl
x86_64-unknown-linux-gnu
aarch64-unknown-linux-gnu
x86_64-apple-darwin
aarch64-apple-darwin
Expand All @@ -66,7 +66,7 @@ jobs:
version: 0.11.0

- name: Install cargo-zigbuild
run: curl -L https://github.com/rust-cross/cargo-zigbuild/releases/download/v0.17.3/cargo-zigbuild-v0.17.3.x86_64-unknown-linux-musl.tar.gz | tar -z -x -C /usr/local/bin
run: curl -L https://github.com/rust-cross/cargo-zigbuild/releases/download/v0.18.3/cargo-zigbuild-v0.18.3.x86_64-unknown-linux-musl.tar.gz | tar -z -x -C /usr/local/bin

- name: Download the macOS SDK
run: curl -L "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz" | tar -J -x -C /opt
Expand Down Expand Up @@ -96,8 +96,8 @@ jobs:
# See https://github.com/rust-cross/cargo-zigbuild/issues/165
run: |
cargo clean -p '' \
--target x86_64-unknown-linux-musl \
--target aarch64-unknown-linux-musl \
--target x86_64-unknown-linux-gnu \
--target aarch64-unknown-linux-gnu \
--target x86_64-apple-darwin \
--target aarch64-apple-darwin \
|| true
Expand All @@ -106,8 +106,8 @@ jobs:
run: |
cargo zigbuild \
--release \
--target x86_64-unknown-linux-musl \
--target aarch64-unknown-linux-musl \
--target x86_64-unknown-linux-gnu.2.17 \
--target aarch64-unknown-linux-gnu.2.17 \
--target x86_64-apple-darwin \
--target aarch64-apple-darwin \
--no-default-features \
Expand Down

0 comments on commit ce8f138

Please sign in to comment.