Skip to content

Commit

Permalink
Install musl target in static build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Nov 12, 2023
1 parent 092b6a4 commit d1b839f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ jobs:
sudo apt-get install libdbus-1-dev pkg-config libssl-dev \
musl musl-dev musl-tools
- name: Get stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
override: true

- name: Make statically linked executable
run: |
RUST_BACKTRACE=1 \
Expand All @@ -140,6 +147,13 @@ jobs:
sudo apt-get install libdbus-1-dev pkg-config libssl-dev \
musl musl-dev musl-tools
- name: Get stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
override: true

- name: Make statically linked executable
run: |
RUST_BACKTRACE=1 \
Expand Down

0 comments on commit d1b839f

Please sign in to comment.