migrated to esp-rtos from esp-hal-embassy #19
This file contains hidden or 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: Build, test and lint | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust for Xtensa | |
| uses: esp-rs/xtensa-toolchain@v1.5 | |
| with: | |
| default: true | |
| ldproxy: true | |
| - name: Build project | |
| run: cargo build --verbose | |
| - name: Run clippy | |
| run: cargo clippy --no-deps -- -Dwarnings |