Tip how to plug in pots #237
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: Action | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check-all: | |
| name: Check all | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch sources | |
| uses: actions/checkout@v2 | |
| - name: Install x86 Rust toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| target: x86_64-unknown-linux-gnu | |
| toolchain: 1.86.0 | |
| default: true | |
| override: true | |
| components: rustfmt, clippy | |
| - name: Install ARM Rust toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| target: thumbv7em-none-eabihf | |
| toolchain: 1.86.0 | |
| override: true | |
| components: rustfmt, clippy | |
| - name: Check formatting | |
| run: make check-format | |
| - name: Check clippy | |
| run: make clippy | |
| - name: Run tests | |
| run: make test | |
| - name: Run slow tests | |
| run: make test SLOW=yes |