13
13
# All generated code should be running on stable now
14
14
rust : [nightly, stable, 1.39.0]
15
15
16
- # The default target we're compiling on and for
17
- TARGET : [x86_64-unknown-linux-gnu, thumbv6m-none-eabi, thumbv7m-none-eabi, thumbv7em-none-eabi, thumbv7em-none-eabihf, thumbv8m.main-none-eabi]
18
-
19
16
include :
20
17
# Nightly is only for reference and allowed to fail
21
18
- rust : nightly
@@ -27,10 +24,20 @@ jobs:
27
24
with :
28
25
profile : minimal
29
26
toolchain : ${{ matrix.rust }}
30
- target : ${{ matrix.TARGET }}
31
27
override : true
32
- components : rustfmt
28
+ - name : Install all Rust targets for ${{ matrix.rust }}
29
+ run : rustup target install --toolchain=${{ matrix.rust }} thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.main-none-eabi
33
30
- name : Install qemu and gcc
34
31
run : sudo apt-get update && sudo apt-get install qemu-system-arm gcc-arm-none-eabi
35
- - name : Run CI script for ${{ matrix.TARGET }} under ${{ matrix.rust }}
36
- run : TARGET=${{ matrix.TARGET }} TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
32
+ - name : Run CI script for x86_64-unknown-linux-gnu under ${{ matrix.rust }}
33
+ run : TARGET=x86_64-unknown-linux-gnu TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
34
+ - name : Run CI script for thumbv6m-none-eabi under ${{ matrix.rust }}
35
+ run : TARGET=thumbv6m-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
36
+ - name : Run CI script for thumbv7m-none-eabi under ${{ matrix.rust }}
37
+ run : TARGET=thumbv7m-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
38
+ - name : Run CI script for thumbv7em-none-eabi under ${{ matrix.rust }}
39
+ run : TARGET=thumbv7em-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
40
+ - name : Run CI script for thumbv7em-none-eabihf under ${{ matrix.rust }}
41
+ run : TARGET=thumbv7em-none-eabihf TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
42
+ - name : Run CI script for thumbv8m.main-none-eabi under ${{ matrix.rust }}
43
+ run : TARGET=thumbv8m.main-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
0 commit comments