Skip to content

Commit

Permalink
Swap build and run order; always build
Browse files Browse the repository at this point in the history
  • Loading branch information
eager-signal committed Nov 14, 2023
1 parent 388c6ce commit 179711d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,13 @@ jobs:
- name: Set custom env (Unix)
if: !startsWith(matrix.os, 'windows')
run: echo ${{ join(matrix.custom_env, '\\n') }} >> $GITHUB_ENV
- if: "!matrix.check_only"
run: cargo test --target ${{ matrix.target }} ${{ matrix.extra_test_args }}
name: Run tests
shell: bash
- if: matrix.check_only
- name: Build 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
shell: bash
- name: Run tests
if: "!matrix.check_only"
run: cargo test --target ${{ matrix.target }} ${{ matrix.extra_test_args }}
shell: bash
- name: Test boring-sys cargo publish
# Running `cargo publish --dry-run` tests two things:
Expand Down

0 comments on commit 179711d

Please sign in to comment.