aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2022-01-12 01:13:00 +0000
committerGravatar Adam Greig <adam@adamgreig.com> 2022-01-12 01:13:00 +0000
commit731422e3fa9d243bf3fd45db93446d4eadf3761d (patch)
tree9b0393aee42304ccedfb19a58b143ed15ab65817
parent73def59d886beb456c892e60e3b4ed16f5f92f31 (diff)
downloadcortex-m-731422e3fa9d243bf3fd45db93446d4eadf3761d.tar.gz
cortex-m-731422e3fa9d243bf3fd45db93446d4eadf3761d.tar.zst
cortex-m-731422e3fa9d243bf3fd45db93446d4eadf3761d.zip
Fix combined CI
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.github/workflows/rt-ci.yml8
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1e1a7c1..3d65b0f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,6 +29,6 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
- name: Run tests
- run: cargo test --all
+ run: cargo test --all --exclude cortex-m-rt
# FIXME: test on macOS and Windows
diff --git a/.github/workflows/rt-ci.yml b/.github/workflows/rt-ci.yml
index d63d7b8..5b1b6c9 100644
--- a/.github/workflows/rt-ci.yml
+++ b/.github/workflows/rt-ci.yml
@@ -18,7 +18,9 @@ jobs:
# Nightly is only for reference and allowed to fail
- rust: nightly
experimental: true
-
+ defaults:
+ run:
+ working-directory: cortex-m-rt
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
@@ -55,7 +57,9 @@ jobs:
- macOS-latest
- windows-latest
runs-on: ${{ matrix.os }}
-
+ defaults:
+ run:
+ working-directory: cortex-m-rt
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1