aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index dad79524..c6871153 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -134,11 +134,16 @@ jobs:
target: ${{ matrix.target }}
override: true
components: llvm-tools-preview
- - uses: actions-rs/cargo@v1
+
+ - name: Check the examples
+ if: matrix.target == 'thumbv7m-none-eabi'
+ env:
+ V7: __v7
+ uses: actions-rs/cargo@v1
with:
use-cross: false
command: check
- args: --examples --target=${{ matrix.target }} --features __min_r1_43
+ args: --examples --target=${{ matrix.target }} --features __min_r1_43,${{ env.V7 }}
# Use precompiled binutils
- name: cargo install cargo-binutils