mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-20 14:55:30 +01:00
unbreak the build
This commit is contained in:
parent
1b735d8fdd
commit
6de27b9a64
7 changed files with 50 additions and 3 deletions
20
ci/script.sh
20
ci/script.sh
|
|
@ -7,15 +7,31 @@ main() {
|
|||
return
|
||||
fi
|
||||
|
||||
# examples that don't require the timer-queue feature
|
||||
local examples=(
|
||||
async
|
||||
empty
|
||||
interrupt
|
||||
)
|
||||
|
||||
case $TARGET in
|
||||
thumbv7em-none-eabi*)
|
||||
cargo check --target $TARGET --features cm7-r0p1
|
||||
cargo check --target $TARGET --features cm7-r0p1 --examples
|
||||
for ex in ${examples[@]}; do
|
||||
cargo check --target $TARGET --features cm7-r0p1 --example $ex
|
||||
done
|
||||
|
||||
cargo check timer-queue --target $TARGET --features "cm7-r0p1 timer-queue"
|
||||
cargo check --target $TARGET --features "cm7-r0p1 timer-queue" --examples
|
||||
;;
|
||||
esac
|
||||
|
||||
cargo check --target $TARGET
|
||||
cargo check --target $TARGET --examples
|
||||
for ex in ${examples[@]}; do
|
||||
cargo check --target $TARGET --features cm7-r0p1 --example $ex
|
||||
done
|
||||
cargo check --features timer-queue --target $TARGET
|
||||
cargo check --features timer-queue --target $TARGET --examples
|
||||
}
|
||||
|
||||
main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue