diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-02-08 20:05:06 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:35:18 +0100 |
| commit | fb203dc4b764c09e2143cadb1491bf523ecd8421 (patch) | |
| tree | 98463105211b5760cbfa26a2b8fd6dadde474171 /.github | |
| parent | a7c213e9508e61c8835986e0bfb9e47c47e91fde (diff) | |
CI: xtask handling example tests
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d86c279..8c5cc04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -187,7 +187,7 @@ jobs: # Verify all examples, checks checkexamples: - name: Cargo check --examples + name: check examples runs-on: ubuntu-22.04 strategy: matrix: @@ -204,21 +204,21 @@ jobs: - name: Install Rust ${{ matrix.toolchain }} run: | - rustup set profile minimal rustup override set ${{ matrix.toolchain }} - name: Configure Rust target (${{ matrix.target }}) run: rustup target add ${{ matrix.target }} - - name: Add Rust component llvm-tools-preview - run: rustup component add llvm-tools-preview - - name: Cache Dependencies uses: Swatinem/rust-cache@v2 - name: Check the examples - working-directory: ./rtic - run: cargo check --examples --target=${{ matrix.target }} + if: ${{ matrix.target == 'thumbv8m.base-none-eabi' }} + run: cargo xtask --verbose --target ${{ matrix.target }} --exampleexclude pool example-check + + - name: Check the examples + if: ${{ matrix.target != 'thumbv8m.base-none-eabi' }} + run: cargo xtask --verbose --target ${{ matrix.target }} example-check # Verify the example output with run-pass tests testexamples: |
