aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-03-29 22:43:43 +0200
committerGitHub <[email protected]>2021-03-29 22:43:43 +0200
commited71b76739e275f09a510b3bbee7e16ec374153e (patch)
tree48e1db88d3c4a54891f6a3b86a0bf19f34948ea0 /.github
parent2bcd1aaebbf255de1ded97356c107df5bea04e57 (diff)
parentfa17644d8ee0c9786e5abe3732c8e80f1ee9af1e (diff)
Merge pull request #65 from embassy-rs/rp2040
wip: Raspberry Pi Pico RP2040 support
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 19499632d..7b04a9947 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -64,6 +64,8 @@ jobs:
64 - package: embassy-stm32l0 64 - package: embassy-stm32l0
65 target: thumbv6m-none-eabi 65 target: thumbv6m-none-eabi
66 features: stm32l0x2,defmt 66 features: stm32l0x2,defmt
67 - package: embassy-rp-examples
68 target: thumbv6m-none-eabi
67 69
68 steps: 70 steps:
69 - uses: actions/checkout@v2 71 - uses: actions/checkout@v2
@@ -79,10 +81,8 @@ jobs:
79 with: 81 with:
80 path: target 82 path: target
81 key: ${{ runner.os }}-${{ matrix.target }} 83 key: ${{ runner.os }}-${{ matrix.target }}
82 - uses: actions-rs/cargo@v1 84 - name: Check
83 with: 85 run: cd ${{ matrix.package }} && cargo check --features=${{ matrix.features }} --target=${{ matrix.target }}
84 command: check
85 args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }}
86 86
87 fmt: 87 fmt:
88 runs-on: ubuntu-latest 88 runs-on: ubuntu-latest
@@ -93,7 +93,5 @@ jobs:
93 toolchain: nightly 93 toolchain: nightly
94 components: rustfmt 94 components: rustfmt
95 override: true 95 override: true
96 - uses: actions-rs/cargo@v1 96 - name: Check fmt
97 with: 97 run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done
98 command: fmt
99 args: --all -- --check