From 61c287a8d653be9927a4a550d8fef50104b3ef78 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 2 Mar 2023 15:54:26 +0000 Subject: [PATCH] Run tests on 32-bit target --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35f2292..173edf3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,25 @@ jobs: - name: Run tests run: cargo test --verbose --release ${{ matrix.features }} + test-32-bit: + name: Test on i686-unknown-linux-gnu with ${{ matrix.features }} + runs-on: ubuntu-latest + strategy: + matrix: + features: [--all-features, --no-default-features] + continue-on-error: true + steps: + - uses: actions/checkout@v3 + - 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 + --target i686-unknown-linux-gnu + ${{ matrix.features }} + no-std: name: Check no-std target ${{ matrix.target }} runs-on: ubuntu-latest