Merge pull request #96 from xoviat/ci
ci: attempt to consolidate nrf examples
This commit is contained in:
commit
c8d90f3e75
19
.github/workflows/rust.yml
vendored
19
.github/workflows/rust.yml
vendored
@ -26,8 +26,8 @@ jobs:
|
|||||||
- package: embassy
|
- package: embassy
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
features: defmt
|
features: defmt
|
||||||
# - package: embassy-nrf-examples
|
- package: embassy-nrf-examples
|
||||||
# target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
- package: embassy-nrf
|
- package: embassy-nrf
|
||||||
target: thumbv7em-none-eabi
|
target: thumbv7em-none-eabi
|
||||||
features: 52810
|
features: 52810
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --package ${{ matrix.package }} --features=${{ matrix.features }}
|
args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }}
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -94,16 +94,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --all -- --check
|
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…
x
Reference in New Issue
Block a user