aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTom Burdick <thomas.burdick@gmail.com>2023-09-30 08:18:19 -0500
committerGitHub <noreply@github.com>2023-09-30 08:18:19 -0500
commitd0a33f85348b6c397bc31bc364c0c74391dd5fba (patch)
treeb658ec62fa2303fd840984a4437b8858d9b494e8 /.github/workflows
parent6a16c13573c78e86a247565b9cbb98e5d0f04787 (diff)
parent567d3c5853b47ef4e7ca3938fb4976db7dbc9d79 (diff)
Merge pull request #12 from imxrt-rs/gnu-linker
Test with GNU's linker
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