From c1fb6f495b9a4ca449f84e4b9ead0b33fd8e254c Mon Sep 17 00:00:00 2001 From: Sam Rijs Date: Mon, 20 May 2024 14:24:37 +0200 Subject: [PATCH] wip --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58cbbd9..fa7b28b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,3 +61,21 @@ jobs: env: ASAN_OPTIONS: "detect_odr_violation=0 detect_leaks=0" RUST_BACKTRACE: "1" + cross-test: + name: cross-test + runs-on: ubuntu-latest + strategy: + matrix: + target: + - i686-unknown-linux-gnu + - aarch64-unknown-linux-gnu + steps: + - uses: actions/checkout@v4 + - name: Install Rust + run: rustup update nightly --no-self-update + - name: Install Cross + run: cargo install --force cross + - name: Test + run: cross test --target=${{ matrix.target }} + - name: Check with no default features + run: cross check --target=${{ matrix.target }} --no-default-features