Skip to content

Commit 114eb29

Browse files
authored
native: Add 'musl' build (#3)
1 parent 18d8031 commit 114eb29

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
env:
99
CARGO_TERM_COLOR: always
1010
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
11+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc
1112
MACOSX_DEPLOYMENT_TARGET: '10.13'
1213

1314
jobs:
@@ -26,6 +27,10 @@ jobs:
2627
target: aarch64-unknown-linux-gnu
2728
- os: ubuntu-latest
2829
target: x86_64-unknown-linux-gnu
30+
- os: ubuntu-latest
31+
target: aarch64-unknown-linux-musl
32+
- os: ubuntu-latest
33+
target: x86_64-unknown-linux-musl
2934

3035
steps:
3136
- name: Checkout
@@ -41,7 +46,7 @@ jobs:
4146
key: ${{ matrix.target }}
4247

4348
- name: Install gcc-aarch64-linux-gnu
44-
if: matrix.os == 'ubuntu-latest' && matrix.target == 'aarch64-unknown-linux-gnu'
49+
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'aarch64-unknown-linux-musl'
4550
run: |
4651
sudo apt-get update
4752
sudo apt-get install -y gcc-aarch64-linux-gnu

0 commit comments

Comments
 (0)