mirror of https://github.com/zcash/halo2.git
Merge pull request #746 from zcash/test-32-bit
CI: Run tests on 32-bit target
This commit is contained in:
commit
2016154118
|
@ -33,6 +33,37 @@ jobs:
|
|||
${{ steps.prepare.outputs.feature-flags }}
|
||||
${{ matrix.extra_flags }}
|
||||
|
||||
test-32-bit:
|
||||
name: Test on i686-unknown-linux-gnu${{ matrix.name_suffix }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
stage: [stable, beta, nightly]
|
||||
include:
|
||||
- stage: beta
|
||||
name_suffix: " with beta features"
|
||||
- stage: nightly
|
||||
name_suffix: " with nightly features"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: prepare
|
||||
uses: ./.github/actions/prepare
|
||||
with:
|
||||
beta-features: ${{ matrix.stage == 'beta' }}
|
||||
nightly-features: ${{ matrix.stage == 'nightly' }}
|
||||
- name: Install cross-platform support dependencies
|
||||
run: sudo apt install gcc-multilib
|
||||
- run: rustup target add i686-unknown-linux-gnu
|
||||
- name: Run tests
|
||||
run: >
|
||||
cargo test
|
||||
--verbose
|
||||
--release
|
||||
--workspace
|
||||
--target i686-unknown-linux-gnu
|
||||
${{ steps.prepare.outputs.feature-flags }}
|
||||
|
||||
build:
|
||||
name: Build target ${{ matrix.target }}
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue