aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rust.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml
index 0f3616c..6b58a5e 100644
--- a/.github/workflows/rust.yaml
+++ b/.github/workflows/rust.yaml
@@ -53,6 +53,15 @@ jobs:
with:
command: test
args: --tests -- --include-ignored
+ - name: Install ARM GCC
+ run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
+ - name: Check binaries that are linked with GNU's ld
+ env:
+ CARGO_TARGET_THUMBV7EM_NONE_EABIHF_RUSTFLAGS: "-C linker=arm-none-eabi-gcc -C link-arg=-mcpu=cortex-m7 -C link-arg=-mfloat-abi=hard -C link-arg=-mfpu=fpv5-d16 -C link-arg=-nostartfiles"
+ uses: actions-rs/cargo@v1
+ with:
+ command: test
+ args: --tests -- --ignored
boards:
runs-on: ubuntu-latest