Remove WEEE and CE from the board #395
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: 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 up Python 3.x toolchain | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install x86 Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
target: x86_64-unknown-linux-gnu | |
toolchain: 1.63.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.63.0 | |
override: true | |
components: rustfmt, clippy | |
- name: Check formatting | |
run: make check-format | |
- name: Check clippy | |
run: make clippy | |
- name: Check compilation | |
run: make check | |
- name: Run tests | |
run: make test |