fix(tband): For now, disable all interrupts in baremetal CM4F port. #92
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: ci-tools | |
on: | |
push: | |
branches: ["main"] | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tools-cargo-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Install protoc | |
run: sudo apt-get install protobuf-compiler | |
- name: Cargo Test | |
working-directory: ${{github.workspace}}/tools/ | |
run: cargo test --all | |
tools-fmt-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: rustfmt | |
- name: Format Check | |
working-directory: ${{github.workspace}}/tools/ | |
run: cargo fmt -- --check | |
tools-clippy-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Install protoc | |
run: sudo apt-get install protobuf-compiler | |
- name: Lint | |
working-directory: ${{github.workspace}}/tools/ | |
run: cargo clippy --all-features -- -D warnings |