Skip to content

Commit

Permalink
Add relevant --target to cargo test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eager-signal authored and nox committed Dec 14, 2023
1 parent 4d1b7fc commit bbe8cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ jobs:
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
- if: "startsWith(matrix.os, 'windows') && !contains(matrix.target, 'ios')"
# CI's Windows doesn't have require root certs
run: cargo test --workspace --exclude tokio-boring --exclude hyper-boring
run: cargo test --workspace --target ${{ matrix.target }} --exclude tokio-boring --exclude hyper-boring
name: Run tests (Windows)
- if: "!startsWith(matrix.os, 'windows') && !contains(matrix.target, 'ios')"
run: cargo test
run: cargo test --target ${{ matrix.target }}
name: Run tests (not Windows)
- if: "contains(matrix.target, 'ios')"
# It's... theoretically possible to run tests on iPhone Simulator,
Expand Down

0 comments on commit bbe8cd1

Please sign in to comment.