Attempt to fix CI dep installation #375
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-all: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Install x86 Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
target: x86_64-unknown-linux-gnu | |
toolchain: 1.77.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.77.0 | |
override: true | |
components: rustfmt, clippy | |
- name: Install cargo-make | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug --locked cargo-make | |
- name: Install flip-link | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug --locked flip-link | |
- name: Install up Python 3.x toolchain | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install Python black | |
run: pip install black | |
- name: Run CI | |
uses: actions-rs/cargo@v1 | |
with: | |
command: make | |
args: ci |