Skip to content

Commit

Permalink
Run no-std tests on arm-linux-gnu target
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Jul 25, 2020
1 parent 6baf056 commit 9b935e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'

0 comments on commit 9b935e5

Please sign in to comment.