Skip to content

Commit 9b935e5

Browse files
committed
Run no-std tests on arm-linux-gnu target
1 parent 6baf056 commit 9b935e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
target: x86_64-unknown-linux-gnu
3131
args: --all-features
3232
- target: thumbv7m-none-eabi
33+
test-target: arm-unknown-linux-gnueabi
3334
args: --no-default-features --features=alloc
3435
exclude:
3536
- rust: 1.36.0
@@ -59,12 +60,12 @@ jobs:
5960
with:
6061
use-cross: true
6162
command: test
62-
args: --target ${{ matrix.target }} --verbose ${{ matrix.args }}
63+
args: --target ${{ matrix.test-target || matrix.target }} --verbose ${{ matrix.args }}
6364

6465
- name: Bench
6566
uses: actions-rs/cargo@v1
6667
with:
6768
use-cross: true
6869
command: bench
69-
args: --target ${{ matrix.target }} --verbose --no-run ${{ matrix.args }}
70+
args: --target ${{ matrix.test-target || matrix.target }} --verbose --no-run ${{ matrix.args }}
7071
if: matrix.rust == 'nightly'

0 commit comments

Comments
 (0)