rust/library/compiler-builtins/libm/ci/script.sh
Jorge Aparicio 27c88ea01b add CI
2018-07-12 01:17:08 -05:00

12 lines
274 B
Bash

set -euxo pipefail
main() {
cargo run --package test-generator --target x86_64-unknown-linux-musl
if cargo fmt --version >/dev/null 2>&1; then
# nicer syntax error messages (if any)
cargo fmt
fi
cross test --target $TARGET --release
}
main