Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Speed-up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Feb 7, 2024
1 parent 50b6913 commit 7752361
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
fail-fast: false
matrix:
chip: [esp32c2, esp32c3, esp32c6, esp32h2, esp32p4]
colors: ["colors", ""]
method: ["println","defmt"]
colors: ["colors"]
method: ["println"]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
Expand All @@ -42,8 +42,8 @@ jobs:
fail-fast: false
matrix:
chip: [esp32, esp32s2, esp32s3]
colors: ["colors", ""]
method: ["println","defmt"]
colors: ["colors"]
method: ["println"]
steps:
- uses: actions/checkout@v3
- uses: esp-rs/xtensa-toolchain@v1.5
Expand All @@ -52,3 +52,24 @@ jobs:
ldproxy: false
- uses: Swatinem/rust-cache@v2
- run: cargo check -Zbuild-std=core --target=xtensa-${{ matrix.chip }}-none-elf --no-default-features --features=esp-println/uart,${{ matrix.chip }},panic-handler,exception-handler,${{ matrix.method }},${{ matrix.colors }}

check-features:
name: Check unusual feature combinations
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Dwarnings
strategy:
fail-fast: false
matrix:
chip: [esp32c3]
colors: ["colors", ""]
method: ["println","defmt"]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf
toolchain: nightly
components: rust-src
- uses: Swatinem/rust-cache@v2
- run: cargo check -Zbuild-std=core --target=riscv32imc-unknown-none-elf --no-default-features --features=esp-println/uart,${{ matrix.chip }},panic-handler,exception-handler,${{ matrix.method }},${{ matrix.colors }}

0 comments on commit 7752361

Please sign in to comment.