Merge pull request #96 from xoviat/ci
ci: attempt to consolidate nrf examples
This commit is contained in:
commit
c8d90f3e75
1 changed files with 3 additions and 16 deletions
19
.github/workflows/rust.yml
vendored
19
.github/workflows/rust.yml
vendored
|
@ -26,8 +26,8 @@ jobs:
|
|||
- package: embassy
|
||||
target: thumbv6m-none-eabi
|
||||
features: defmt
|
||||
# - package: embassy-nrf-examples
|
||||
# target: thumbv7em-none-eabi
|
||||
- package: embassy-nrf-examples
|
||||
target: thumbv7em-none-eabi
|
||||
- package: embassy-nrf
|
||||
target: thumbv7em-none-eabi
|
||||
features: 52810
|
||||
|
@ -79,7 +79,7 @@ jobs:
|
|||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --package ${{ matrix.package }} --features=${{ matrix.features }}
|
||||
args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }}
|
||||
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -94,16 +94,3 @@ jobs:
|
|||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
nrf_examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
components: rust-src, rustfmt
|
||||
target: thumbv7em-none-eabi
|
||||
override: true
|
||||
- name: Build
|
||||
run: (cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins)
|
||||
|
|
Loading…
Reference in a new issue