rtic/ci/script.sh

14 lines
196 B
Bash
Raw Permalink Normal View History

2017-04-12 06:12:06 +02:00
set -ex
main() {
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
cargo test
return
fi
cross build --target $TARGET
cross build --target $TARGET --release
}
main