mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Update CI workflow now that we aren't in a workspace
This commit is contained in:
parent
3669381234
commit
b7e84bc7fd
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --examples --package=esp32c3-hal --target=riscv32imc-unknown-none-elf
|
args: --examples --manifest-path=esp32c3-hal/Cargo.toml --target=riscv32imc-unknown-none-elf
|
||||||
|
|
||||||
check-xtensa:
|
check-xtensa:
|
||||||
name: Check Xtensa Examples
|
name: Check Xtensa Examples
|
||||||
@ -41,15 +41,16 @@ jobs:
|
|||||||
chip: [esp32, esp32s2, esp32s3]
|
chip: [esp32, esp32s2, esp32s3]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: esp-rs/xtensa-toolchain@v1.1
|
- uses: esp-rs/xtensa-toolchain@v1.2
|
||||||
with:
|
with:
|
||||||
default: true
|
default: true
|
||||||
ldproxy: false
|
ldproxy: false
|
||||||
|
buildtargets: ${{ matrix.chip }}
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v1
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: -Zbuild-std=core --examples --package=${{ matrix.chip }}-hal --target=xtensa-${{ matrix.chip }}-none-elf
|
args: -Zbuild-std=core --examples --manifest-path=${{ matrix.chip }}-hal/Cargo.toml --target=xtensa-${{ matrix.chip }}-none-elf
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
@ -72,4 +73,4 @@ jobs:
|
|||||||
command: clippy
|
command: clippy
|
||||||
# I find `clippy::too-many-arguments` to be rather rather arbitrary.
|
# I find `clippy::too-many-arguments` to be rather rather arbitrary.
|
||||||
# As for `clippy::module-inception`... don't tell me what to do ;)
|
# As for `clippy::module-inception`... don't tell me what to do ;)
|
||||||
args: --package=${{ matrix.chip }}-hal -- --no-deps -D warnings --A clippy::too-many-arguments --A clippy::module-inception
|
args: --manifest-path=${{ matrix.chip }}-hal/Cargo.toml -- --no-deps -D warnings --A clippy::too-many-arguments --A clippy::module-inception
|
||||||
|
Loading…
x
Reference in New Issue
Block a user