From 9b935e51d22e8df08356e3db859918e51eff9fbc Mon Sep 17 00:00:00 2001 From: roblabla Date: Sat, 25 Jul 2020 14:06:22 +0000 Subject: [PATCH] Run no-std tests on arm-linux-gnu target --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 253f8ed8..824ebd91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: target: x86_64-unknown-linux-gnu args: --all-features - target: thumbv7m-none-eabi + test-target: arm-unknown-linux-gnueabi args: --no-default-features --features=alloc exclude: - rust: 1.36.0 @@ -59,12 +60,12 @@ jobs: with: use-cross: true command: test - args: --target ${{ matrix.target }} --verbose ${{ matrix.args }} + args: --target ${{ matrix.test-target || matrix.target }} --verbose ${{ matrix.args }} - name: Bench uses: actions-rs/cargo@v1 with: use-cross: true command: bench - args: --target ${{ matrix.target }} --verbose --no-run ${{ matrix.args }} + args: --target ${{ matrix.test-target || matrix.target }} --verbose --no-run ${{ matrix.args }} if: matrix.rust == 'nightly' \ No newline at end of file