Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add musl build targets for arm64, v6l, v7, x86 #112

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ rustflags = [ "-C", "target-feature=-crt-static" ]

[target.aarch64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]

[target.i686-unknown-linux-musl]
rustflags = [ "-C", "target-feature=-crt-static" ]
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,26 @@ jobs:
platform: musllinux_x86_64
image: alpine
runs-on: buildjet-4vcpu-ubuntu-2204
- target: aarch64-unknown-linux-musl
platform: musllinux_aarch64
image: alpine
runs-on: buildjet-4vcpu-ubuntu-2204-arm
- target: arm-unknown-linux-gnueabihf
platform: linux_armv6l
image: ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main
runs-on: buildjet-4vcpu-ubuntu-2204
- target: arm-unknown-linux-musleabihf
platform: musllinux_armv6l
image: ghcr.io/cross-rs/arm-unknown-linux-musleabihf:main
runs-on: buildjet-4vcpu-ubuntu-2204
- target: armv7-unknown-linux-musleabihf
platform: musllinux_armv7l
image: ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:main
runs-on: buildjet-4vcpu-ubuntu-2204
- target: i686-unknown-linux-musl
platform: musllinux_x86
image: ghcr.io/cross-rs/i686-unknown-linux-musl:main
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Setup dependencies
if: ${{ startsWith(matrix.image, 'ubuntu') }}
Expand Down
Loading
Loading