From 797d9b5e02087a6ae121e8dbb1a0791fec9b8068 Mon Sep 17 00:00:00 2001 From: Jesse Braham Date: Tue, 30 Aug 2022 11:28:42 -0700 Subject: [PATCH] Minor CI tweaks --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a917a258..7104032fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: strategy: fail-fast: false matrix: + chip: [esp32c3] toolchain: [stable, nightly] steps: - uses: actions/checkout@v2 @@ -33,7 +34,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: check - args: --examples --manifest-path=esp32c3-hal/Cargo.toml --target=riscv32imc-unknown-none-elf --features=eh1,smartled,ufmt + args: --examples --manifest-path=${{ matrix.chip }}-hal/Cargo.toml --target=riscv32imc-unknown-none-elf --features=eh1,smartled,ufmt check-xtensa: name: Check Xtensa Examples @@ -64,6 +65,7 @@ jobs: strategy: fail-fast: false matrix: + chip: [esp32c3] toolchain: [stable, nightly] steps: - uses: actions/checkout@v2 @@ -78,7 +80,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: --manifest-path=esp32c3-hal/Cargo.toml --target=riscv32imc-unknown-none-elf -- --no-deps -D warnings --A clippy::too-many-arguments --A clippy::module-inception + args: --manifest-path=${{ matrix.chip }}-hal/Cargo.toml --target=riscv32imc-unknown-none-elf -- --no-deps clippy-xtensa: name: Run clippy on Xtensa builds @@ -98,7 +100,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: -Zbuild-std=core --manifest-path=${{ matrix.chip }}-hal/Cargo.toml --target=xtensa-${{ matrix.chip }}-none-elf -- --no-deps -D warnings --A clippy::too-many-arguments --A clippy::module-inception + args: -Zbuild-std=core --manifest-path=${{ matrix.chip }}-hal/Cargo.toml --target=xtensa-${{ matrix.chip }}-none-elf -- --no-deps # -------------------------------------------------------------------------- # MSRV Check