From ee9c8c607bd6010e5a0e54c6ae1d6c4cceca69ef Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 8 Nov 2021 01:26:58 +0100 Subject: [PATCH] use x-compile in ci now --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8362357..5a9dad0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,13 @@ jobs: with: profile: minimal toolchain: stable + target: thumbv6m-none-eabi override: true - uses: actions-rs/cargo@v1 with: + use-cross: true command: check + args: --target thumbv6m-none-eabi fmt: name: Rustfmt @@ -42,12 +45,14 @@ jobs: with: profile: minimal toolchain: stable + target: thumbv6m-none-eabi override: true - run: rustup component add clippy - uses: actions-rs/cargo@v1 with: + use-cross: true command: clippy - args: -- -D warnings + args: --target thumbv6m-none-eabi -- -D warnings ci: if: ${{ success() }}