rtic/ci/script.sh
Jorge Aparicio 6af1873922 add CI
2017-04-11 23:19:14 -05:00

13 lines
196 B
Bash

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