Skip to content

Commit

Permalink
Install gcc-arm-none-eabi in embedded ci job
Browse files Browse the repository at this point in the history
The current embedded ci job is failing, I think its because we need to
install `gcc-arm-none-eabi`, based on how we do it in `rust-bitcoin`.
  • Loading branch information
tcharding committed Aug 11, 2022
1 parent e063fe7 commit 091240e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
run: sudo apt install qemu-system-arm
run: sudo apt update && sudo apt install -y qemu-system-arm gcc-arm-none-eabi
- name: Checkout Toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -82,5 +82,5 @@ jobs:
- name: Run
env:
RUSTFLAGS: "-C link-arg=-Tlink.x"
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
run: cd embedded && cargo run --target thumbv7m-none-eabi

0 comments on commit 091240e

Please sign in to comment.