Also check examples which require __v7

This commit is contained in:
Henrik Tjäder 2020-09-23 13:51:07 +00:00
parent 9a33457c82
commit 80b6bb9926

View file

@ -134,11 +134,16 @@ jobs:
target: ${{ matrix.target }} target: ${{ matrix.target }}
override: true override: true
components: llvm-tools-preview 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: with:
use-cross: false use-cross: false
command: check 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 # Use precompiled binutils
- name: cargo install cargo-binutils - name: cargo install cargo-binutils