diff --git a/.github/workflows/CI-ci-remote.yml b/.github/workflows/CI-ci-remote.yml index 5a80a2d..0a4e95a 100644 --- a/.github/workflows/CI-ci-remote.yml +++ b/.github/workflows/CI-ci-remote.yml @@ -24,6 +24,10 @@ jobs: with: command: install args: --debug cargo-make + - name: Install bare-metal target + uses: actions-rs/toolchain@v1 + with: + target: thumbv7em-none-eabi - name: Run CI full (stable) uses: actions-rs/cargo@v1 with: diff --git a/Makefile.toml b/Makefile.toml index 6b7168a..6afde9d 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -13,6 +13,11 @@ dependencies = ["clean"] command = "cargo" args = ["build"] +[tasks.build-bare-metal] +dependencies = ["clean"] +command = "cargo" +args = ["build", "--target", "thumbv7em-none-eabi"] + [tasks.test] dependencies = ["clean"] command = "cargo" @@ -92,6 +97,7 @@ dependencies = [ [tasks.ci-remote] dependencies = [ "build", + "build-bare-metal", "test", "run-bins", "format-check",