Skip to content

Commit 5fe208d

Browse files
committed
feat: also release musl linux target
1 parent 5156858 commit 5fe208d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
target:
3939
- x86_64-unknown-linux-gnu
4040
- aarch64-unknown-linux-gnu
41+
- x86_64-unknown-linux-musl
42+
- aarch64-unknown-linux-musl
4143
- x86_64-apple-darwin
4244
- x86_64-pc-windows-msvc
4345
- aarch64-apple-darwin
@@ -49,6 +51,14 @@ jobs:
4951
os: ubuntu-22.04
5052
name: trunk-aarch64-unknown-linux-gnu.tar.gz
5153
cross: "true"
54+
- target: x86_64-unknown-linux-musl
55+
os: ubuntu-22.04
56+
name: trunk-x86_64-unknown-linux-musl.tar.gz
57+
dependencies: musl-tools
58+
- target: aarch64-unknown-linux-musl
59+
os: ubuntu-22.04
60+
name: trunk-aarch64-unknown-linux-musl.tar.gz
61+
cross: "true"
5262
- target: x86_64-apple-darwin
5363
os: macos-12
5464
name: trunk-x86_64-apple-darwin.tar.gz
@@ -78,6 +88,12 @@ jobs:
7888
target/
7989
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
8090

91+
- name: Setup | Dependencies
92+
if: matrix.dependencies != ''
93+
run: |
94+
sudo apt-get update
95+
sudo apt-get install -y ${{ matrix.dependencies }}
96+
8197
- name: Setup | Rust
8298
run: |
8399
rustup toolchain install stable --target ${{ matrix.target }} --profile minimal

0 commit comments

Comments
 (0)