This commit is contained in:
Dario Nieuwenhuis 2020-12-01 17:52:06 +01:00
parent 6f76c0ebcc
commit 02af635e7b
2 changed files with 20 additions and 21 deletions

View File

@ -11,7 +11,6 @@ env:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -19,7 +18,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly toolchain: nightly
target: thumbv7em-none-eabihf target: thumbv7em-none-eabi
override: true override: true
- name: Build - name: Build
run: ./test-build.sh run: ./test-build.sh

View File

@ -3,20 +3,20 @@
set -euxo pipefail set -euxo pipefail
# examples # examples
(cd examples; cargo build --target thumbv7em-none-eabihf --bins) (cd examples; cargo build --target thumbv7em-none-eabi --bins)
# embassy # embassy
(cd embassy; cargo build --target thumbv7em-none-eabihf) (cd embassy; cargo build --target thumbv7em-none-eabi)
(cd embassy; cargo build --target thumbv7em-none-eabihf --features log) (cd embassy; cargo build --target thumbv7em-none-eabi --features log)
(cd embassy; cargo build --target thumbv7em-none-eabihf --features defmt) (cd embassy; cargo build --target thumbv7em-none-eabi --features defmt)
# embassy-nrf # embassy-nrf
(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810)
#(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52811) # nrf52811-hal doesn't exist yet #(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52811) # nrf52811-hal doesn't exist yet
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52832) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52832)
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52833) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52833)
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840)
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,log) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,log)
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,defmt) (cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,defmt)