Skip to content

Commit dda124e

Browse files
authored
change to musl
1 parent d94bee7 commit dda124e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- name: x86_64-unknown-linux-gnu # linux-amd64
17+
- name: x86_64-unknown-linux-musl # linux-amd64 static
1818
runner: ubuntu-latest
19-
target: x86_64-unknown-linux-gnu
19+
target: x86_64-unknown-linux-musl
2020
- name: x86_64-pc-windows-msvc # win-amd64
2121
runner: windows-latest
2222
target: x86_64-pc-windows-msvc
@@ -36,6 +36,10 @@ jobs:
3636
uses: dtolnay/rust-toolchain@stable
3737
with:
3838
targets: "${{ matrix.target }}"
39+
40+
- name: Install musl-tools (only for musl builds)
41+
if: matrix.target == 'x86_64-unknown-linux-musl'
42+
run: sudo apt-get update && sudo apt-get install -y musl-tools
3943

4044
- name: Setup Cache
4145
uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)