Merge pull request #96 from xoviat/ci

ci: attempt to consolidate nrf examples
This commit is contained in:
xoviat 2021-03-19 10:55:03 -05:00 committed by GitHub
commit c8d90f3e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)