mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Fix job test
for x86_64-unknown-linux-musl
Install corresponding rustup target and musl-tools Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
d1c6a07a48
commit
feb03e37d2
1 changed files with 10 additions and 0 deletions
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
|
@ -154,6 +154,16 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: FranzDiebold/github-env-vars-action@v1.2.1
|
- uses: FranzDiebold/github-env-vars-action@v1.2.1
|
||||||
|
|
||||||
|
- name: Configure toolchain
|
||||||
|
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
|
- name: Install musl-tools
|
||||||
|
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
|
||||||
|
run: sudo apt-get install -y musl-tools
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }}
|
name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue