rtic/ci/script.sh
Jorge Aparicio e90cf07dd6 fix ci
2017-11-22 09:40:36 +01:00

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