Skip to content

Commit 091240e

Browse files
committed
Install gcc-arm-none-eabi in embedded ci job
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`.
1 parent e063fe7 commit 091240e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Checkout
7171
uses: actions/checkout@v2
7272
- name: Set up QEMU
73-
run: sudo apt install qemu-system-arm
73+
run: sudo apt update && sudo apt install -y qemu-system-arm gcc-arm-none-eabi
7474
- name: Checkout Toolchain
7575
uses: actions-rs/toolchain@v1
7676
with:
@@ -82,5 +82,5 @@ jobs:
8282
- name: Run
8383
env:
8484
RUSTFLAGS: "-C link-arg=-Tlink.x"
85-
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
85+
CARGO_TARGET_THUMBV7M_NONE_EABI_RUNNER: "qemu-system-arm -cpu cortex-m3 -machine mps2-an385 -nographic -semihosting-config enable=on,target=native -kernel"
8686
run: cd embedded && cargo run --target thumbv7m-none-eabi

0 commit comments

Comments
 (0)