Merge pull request #7 from M3ngL/master #31
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: armv7 | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:edge | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install latest nightly | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: nightly | |
| override: true | |
| components: rustfmt, clippy | |
| - name: submodule | |
| run: git config --global --add safe.directory /__w/RustPilot/RustPilot && git submodule update --init | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: rustup target add armv7-unknown-linux-gnueabihf && cargo build --verbose --target armv7-unknown-linux-gnueabihf | |
| - name: Run tests | |
| run: cargo test --verbose --target armv7-unknown-linux-gnueabihf |