From 091240e2f9cd1f440c202f48013e1843e5978feb Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 12 Aug 2022 07:18:07 +1000 Subject: [PATCH] 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`. --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 41e38cfc1..94da157b2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: @@ -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