mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-27 01:03:21 +01:00
fix: with target
This commit is contained in:
parent
6858ee74cd
commit
c56370182f
16
.github/workflows/ci-multiplatform.yml
vendored
16
.github/workflows/ci-multiplatform.yml
vendored
@ -91,26 +91,34 @@ jobs:
|
|||||||
if: matrix.target == ''
|
if: matrix.target == ''
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
if: matrix.target != ''
|
if: matrix.target != ''
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
|
target: ${{ matrix.target }}
|
||||||
use-cross: true
|
use-cross: true
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: matrix.target != ''
|
if: matrix.target != ''
|
||||||
with:
|
with:
|
||||||
use-cross: true
|
use-cross: true
|
||||||
command: build --workspace --verbose
|
command: build
|
||||||
|
args: --workspace --verbose --target ${{ matrix.target }}
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: matrix.target == ''
|
if: matrix.target == ''
|
||||||
with:
|
with:
|
||||||
command: build --workspace --verbose
|
command: build
|
||||||
|
args: --workspace --verbose
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: matrix.target != ''
|
if: matrix.target != ''
|
||||||
with:
|
with:
|
||||||
use-cross: true
|
use-cross: true
|
||||||
command: test --all --verbose
|
command: test
|
||||||
|
args: --all --verbose --target ${{ matrix.target }}
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: matrix.target == ''
|
if: matrix.target == ''
|
||||||
with:
|
with:
|
||||||
command: test --all --verbose
|
command: test
|
||||||
|
args: --all --verbose
|
||||||
|
Loading…
Reference in New Issue
Block a user