mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 03:19:34 +01:00
14 lines
241 B
Bash
14 lines
241 B
Bash
set -euxo pipefail
|
|
|
|
main() {
|
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
|
cargo build
|
|
cargo test --test cfail
|
|
return
|
|
fi
|
|
|
|
xargo build --target $TARGET
|
|
xargo check --target $TARGET --examples
|
|
}
|
|
|
|
main
|