diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-06-27 01:36:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 01:36:45 -0400 |
commit | 4ca68b621d26c61e1c4b4b6b3522ce5ac245b8ba (patch) | |
tree | 1894ff9b7223879992d70d0ada32d599373f404f /.github | |
parent | 6468f8af58fd32bc86f770a131990d8fde5a385d (diff) |
ci: fix missing target in tests (#757)
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b28cd0a..b260f8c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --no-run --locked ${{ matrix.features }} + args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }} use-cross: ${{ matrix.info.cross }} env: RUST_BACKTRACE: full @@ -104,7 +104,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --no-fail-fast ${{ matrix.features }} -- --nocapture --quiet + args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet use-cross: ${{ matrix.info.cross }} env: RUST_BACKTRACE: full @@ -114,7 +114,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: ${{ matrix.features }} --all-targets --workspace -- -D warnings + args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings use-cross: ${{ matrix.info.cross }} env: RUST_BACKTRACE: full |