Skip to content

Commit

Permalink
build: pin cross to v0.1.16 (#16)
Browse files Browse the repository at this point in the history
v0.2 removes openssl from the images.
See: cross-rs/cross#322
  • Loading branch information
malept authored Feb 27, 2020
1 parent 82aed77 commit 41765b4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,13 @@ install_compile_dependencies() {
local target=
if [ $TRAVIS_OS_NAME = linux ]; then
target=x86_64-unknown-linux-musl
sort=sort
else
target=x86_64-apple-darwin
sort=gsort # for `sort --sort-version`, from homebrew's coreutils.
fi

# This fetches latest stable release
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/rust-embedded/cross \
| cut -d/ -f3 \
| grep -E '^v[0.1.0-9.]+$' \
| $sort --version-sort \
| tail -n1)
# Pinning to v0.1.16 because v0.2 removes openssl from the images
# https://github.com/rust-embedded/cross/pull/322
local tag=v0.1.16
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- \
--force \
Expand Down

0 comments on commit 41765b4

Please sign in to comment.