Comment out ESP32 target configurations in GitHub Actions workflow #149
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check rust code | |
on: | |
push: | |
paths-ignore: | |
- "**/README.md" | |
pull_request: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
rust-checks: | |
name: Rust checks | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- linux | |
# - esp32 | |
# - esp32s3 | |
steps: | |
- name: Setup | Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup | Enable cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: "${{ matrix.target }}" | |
- name: Setup | Rust stable toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
target: wasm32-wasip1, wasm32-unknown-unknown | |
- name: Setup | Rust esp xtensa toolchain | |
if: matrix.target == 'esp32' || matrix.target == 'esp32s3' | |
uses: esp-rs/[email protected] | |
with: | |
default: true | |
buildtargets: esp32,esp32s3 | |
ldproxy: true | |
- name: Setup | Install necessary dependencies | |
run: sudo apt-get install -y gcc-multilib | |
- name: Setup | Build and source build tool | |
run: source Export.sh | |
- name: Check | Formatting | |
run: Build_tool/target/release/Build_tool format --all -- --check --color always | |
- name: Check | Clippy | |
run: Build_tool/target/release/Build_tool clippy ${{ matrix.target }} --all-features --workspace -- -D warnings | |
- name: Run | Tests | |
run: Build_tool/target/release/Build_tool test ${{ matrix.target }} --all -- --include-ignored |