From 5f6f1c38d925c4ddc1df31e00bb9038e1c1875bb Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 29 Mar 2021 04:32:46 +0200 Subject: rp: Add to Ci --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 19499632d..d1a7ade0b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -64,6 +64,8 @@ jobs: - package: embassy-stm32l0 target: thumbv6m-none-eabi features: stm32l0x2,defmt + - package: embassy-rp-examples + target: thumbv6m-none-eabi steps: - uses: actions/checkout@v2 -- cgit From 4371302da87f7fad4649c0ef4eade9432dc94529 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 29 Mar 2021 21:46:51 +0200 Subject: Remove workspace Cargo.toml, add template --- .github/workflows/rust.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d1a7ade0b..178ccf89c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -81,10 +81,8 @@ jobs: with: path: target key: ${{ runner.os }}-${{ matrix.target }} - - uses: actions-rs/cargo@v1 - with: - command: check - args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }} + - name: Check + run: cd ${{ matrix.package }} && cargo check --features=${{ matrix.features }} --target=${{ matrix.target }} fmt: runs-on: ubuntu-latest -- cgit From fa17644d8ee0c9786e5abe3732c8e80f1ee9af1e Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 29 Mar 2021 22:31:26 +0200 Subject: ci: fmtcheck all crates individually since there's no workspace anymore. --- .github/workflows/rust.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 178ccf89c..7b04a9947 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -93,7 +93,5 @@ jobs: toolchain: nightly components: rustfmt override: true - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + - name: Check fmt + run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done -- cgit