Skip to content

Commit

Permalink
Build tests even for cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
jrose-signal committed Oct 13, 2023
1 parent 159153d commit 549ce09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ jobs:
run: cargo test --target ${{ matrix.target }} ${{ matrix.extra_test_args }}
name: Run tests
- if: matrix.check_only
run: cargo check --target ${{ matrix.target }} --tests
name: Check tests
# We `build` because we want the linker to verify we are cross-compiling correctly.
run: cargo build --target ${{ matrix.target }} --tests
name: Build tests
- name: Test boring-sys cargo publish
# Running `cargo publish --dry-run` tests two things:
#
Expand Down

0 comments on commit 549ce09

Please sign in to comment.