diff options
| -rw-r--r-- | .github/workflows/rust.yml | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d184ebc4e..9b3d3b29e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml | |||
| @@ -26,8 +26,8 @@ jobs: | |||
| 26 | - package: embassy | 26 | - package: embassy |
| 27 | target: thumbv6m-none-eabi | 27 | target: thumbv6m-none-eabi |
| 28 | features: defmt | 28 | features: defmt |
| 29 | # - package: embassy-nrf-examples | 29 | - package: embassy-nrf-examples |
| 30 | # target: thumbv7em-none-eabi | 30 | target: thumbv7em-none-eabi |
| 31 | - package: embassy-nrf | 31 | - package: embassy-nrf |
| 32 | target: thumbv7em-none-eabi | 32 | target: thumbv7em-none-eabi |
| 33 | features: 52810 | 33 | features: 52810 |
| @@ -79,7 +79,7 @@ jobs: | |||
| 79 | - uses: actions-rs/cargo@v1 | 79 | - uses: actions-rs/cargo@v1 |
| 80 | with: | 80 | with: |
| 81 | command: check | 81 | command: check |
| 82 | args: --package ${{ matrix.package }} --features=${{ matrix.features }} | 82 | args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }} |
| 83 | 83 | ||
| 84 | fmt: | 84 | fmt: |
| 85 | runs-on: ubuntu-latest | 85 | runs-on: ubuntu-latest |
| @@ -94,16 +94,3 @@ jobs: | |||
| 94 | with: | 94 | with: |
| 95 | command: fmt | 95 | command: fmt |
| 96 | args: --all -- --check | 96 | args: --all -- --check |
| 97 | |||
| 98 | nrf_examples: | ||
| 99 | runs-on: ubuntu-latest | ||
| 100 | steps: | ||
| 101 | - uses: actions/checkout@v2 | ||
| 102 | - uses: actions-rs/toolchain@v1 | ||
| 103 | with: | ||
| 104 | toolchain: nightly | ||
| 105 | components: rust-src, rustfmt | ||
| 106 | target: thumbv7em-none-eabi | ||
| 107 | override: true | ||
| 108 | - name: Build | ||
| 109 | run: (cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins) | ||
