mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-26 05:29:38 +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
|