mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
Enable use-cross
for job "Build release for arm musl target"
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
37ddf3c435
commit
7796f8760a
1 changed files with 9 additions and 0 deletions
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
@ -80,11 +80,20 @@ jobs:
|
|||
run: sudo apt-get install -y musl-tools
|
||||
|
||||
- name: Build release
|
||||
if: ${{ matrix.target != 'armv7-unknown-linux-musleabihf' }}
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --target ${{ matrix.target }} --release
|
||||
|
||||
- name: Build release for armv7 musl target
|
||||
if: ${{ matrix.target == 'armv7-unknown-linux-musleabihf' }}
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --target ${{ matrix.target }} --release
|
||||
use-cross: true
|
||||
|
||||
- name: Copy and rename utility
|
||||
run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue