|
25 | 25 | profile: minimal
|
26 | 26 | toolchain: ${{ matrix.rust }}
|
27 | 27 | override: true
|
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 |
| 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.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf |
30 | 30 | - name: Install qemu and gcc
|
31 | 31 | run: sudo apt-get update && sudo apt-get install qemu-system-arm gcc-arm-none-eabi
|
32 | 32 | - name: Run CI script for x86_64-unknown-linux-gnu under ${{ matrix.rust }}
|
|
39 | 39 | run: TARGET=thumbv7em-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
|
40 | 40 | - name: Run CI script for thumbv7em-none-eabihf under ${{ matrix.rust }}
|
41 | 41 | run: TARGET=thumbv7em-none-eabihf TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
|
| 42 | + - name: Run CI script for thumbv8m.base-none-eabi under ${{ matrix.rust }} |
| 43 | + run: TARGET=thumbv8m.base-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh |
42 | 44 | - name: Run CI script for thumbv8m.main-none-eabi under ${{ matrix.rust }}
|
43 | 45 | run: TARGET=thumbv8m.main-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh
|
| 46 | + - name: Run CI script for thumbv8m.main-none-eabihf under ${{ matrix.rust }} |
| 47 | + run: TARGET=thumbv8m.main-none-eabihf TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh |
| 48 | + |
| 49 | + # On macOS and Windows, we at least make sure that all examples build and link. |
| 50 | + build-other: |
| 51 | + strategy: |
| 52 | + matrix: |
| 53 | + os: |
| 54 | + - macOS-latest |
| 55 | + - windows-latest |
| 56 | + runs-on: ${{ matrix.os }} |
| 57 | + |
| 58 | + steps: |
| 59 | + - uses: actions/checkout@v2 |
| 60 | + - uses: actions-rs/toolchain@v1 |
| 61 | + with: |
| 62 | + profile: minimal |
| 63 | + toolchain: stable |
| 64 | + override: true |
| 65 | + - name: Install all Rust targets |
| 66 | + run: rustup target install thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf |
| 67 | + - name: Build crate for thumbv6m-none-eabi |
| 68 | + run: cargo build --target=thumbv6m-none-eabi --examples |
| 69 | + - name: Build crate for thumbv7m-none-eabi |
| 70 | + run: cargo build --target=thumbv7m-none-eabi --examples |
| 71 | + - name: Build crate for thumbv7em-none-eabi |
| 72 | + run: cargo build --target=thumbv7em-none-eabi --examples |
| 73 | + - name: Build crate for thumbv7em-none-eabihf |
| 74 | + run: cargo build --target=thumbv7em-none-eabihf --examples |
| 75 | + - name: Build crate for thumbv8m.base-none-eabi |
| 76 | + run: cargo build --target=thumbv8m.base-none-eabi --examples |
| 77 | + - name: Build crate for thumbv8m.main-none-eabi |
| 78 | + run: cargo build --target=thumbv8m.main-none-eabi --examples |
| 79 | + - name: Build crate for thumbv8m.main-none-eabihf |
| 80 | + run: cargo build --target=thumbv8m.main-none-eabihf --examples |
0 commit comments