libm/ci/install.sh
Jorge Aparicio 4b89f61773 add CI
2018-07-12 01:17:08 -05:00

16 lines
258 B
Bash

set -euxo pipefail
main() {
if ! hash cross >/dev/null 2>&1; then
cargo install cross
fi
rustup target add x86_64-unknown-linux-musl
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
rustup target add $TARGET
fi
}
main