Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
uses: actions/checkout@v2

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
run: |
rustup show
rustup target add ${{ matrix.target }}

- name: Install build dependencies
run: >
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/firmwares.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ jobs:
with:
release: "10-2020-q4"

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv8m.main-none-eabi
override: true
components: llvm-tools-preview

- name: Install rustup toolchain
run: |
rustup show
rustup component add llvm-tools-preview
rustup target add thumbv8m.main-none-eabi

- name: cargo install cargo-binutils
uses: actions-rs/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.66.1"
profile = "minimal"
components = ["rustfmt", "clippy"]