Skip to content

Commit

Permalink
Actually build for target architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
tirr-c committed Sep 29, 2023
1 parent 006cf31 commit ed18025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install cross
run: cargo install cross --version 0.2.5
- name: Run tests
run: cross test --release
run: cross test --release --target ${{ matrix.target }}

coverage:
name: Coverage
Expand Down Expand Up @@ -80,12 +80,12 @@ jobs:
- name: Install cross
run: cargo install cross --version 0.2.5
- name: Build
run: cross build
run: cross build --target ${{ matrix.target }}
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
- name: Run tests
run: cross test --no-fail-fast
run: cross test --no-fail-fast --target ${{ matrix.target }}
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
Expand Down

0 comments on commit ed18025

Please sign in to comment.