Skip to content

Commit

Permalink
Add cargo check for ESP IDF to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Aug 5, 2023
1 parent 552ac84 commit 7f5603f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
push:
branches:
- master
- espidf
schedule:
- cron: '0 2 * * 0'

Expand Down Expand Up @@ -56,6 +56,12 @@ jobs:
RUSTFLAGS: ${{ env.RUSTFLAGS }} --cfg polling_test_poll_backend
if: startsWith(matrix.os, 'ubuntu')
- run: cargo hack build --feature-powerset --no-dev-deps
- name: Add rust-src
if: matrix.rust == 'nightly'
run: rustup component add rust-src
- name: Check selected Tier 3 targets
if: matrix.rust == 'nightly' && matrix.os = 'ubuntu-latest'
run: cargo +nightly check -Z build-std --target=riscv32imc-esp-espidf --config 'patch.crates-io.rustix.git="https://github.com/bytecodealliance/rustix"'

cross:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 7f5603f

Please sign in to comment.