Skip to content

Commit

Permalink
Build musl target
Browse files Browse the repository at this point in the history
  • Loading branch information
volker committed Feb 6, 2024
1 parent 0a5458b commit a142e7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,18 @@ jobs:
override: true

- name: Add musl target
run: rustup target add x86_64-unknown-linux-musl
run: |
rustup target add x86_64-unknown-linux-musl
- name: Build Binary
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --target x86_64-unknown-linux-musl

- name: ls
run: ls target

- name: Archive binary
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a142e7d

Please sign in to comment.