5 if [ $TRAVIS_OS_NAME = linux
]; then
6 target
=x86_64-unknown-linux-musl
9 target
=x86_64-apple-darwin
10 sort=gsort
# for `sort --sort-version`, from brew's coreutils.
13 # Builds for iOS are done on OSX, but require the specific target to be
17 rustup target
install aarch64-apple-ios
20 rustup target
install armv7-apple-ios
23 rustup target
install armv7s-apple-ios
26 rustup target
install i386-apple-ios
29 rustup target
install x86_64-apple-ios
33 # This fetches latest stable release
34 local tag
=$
(git ls-remote
--tags --refs --exit-code https
://github.com
/japaric
/cross \
36 |
grep -E '^v[0.1.0-9.]+$' \
37 |
$sort --version-sort \
39 curl
-LSfs https
://japaric.github.io
/trust
/install.sh | \