Skip to content

Commit e1a67e7

Browse files
author
Jorge Aparicio
committed
update CI scripts
1 parent 9f2374a commit e1a67e7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ci/install.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ main() {
44
curl https://sh.rustup.rs -sSf | \
55
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
66

7+
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
8+
| cut -d/ -f3 \
9+
| grep -E '^v[0-9.]+$' \
10+
| sort --version-sort \
11+
| tail -n1)
712
curl -LSfs http://japaric.github.io/trust/install.sh | \
813
sh -s -- \
914
--force \
1015
--git japaric/cross \
11-
--tag v0.1.2 \
16+
--tag $tag \
1217
--target x86_64-unknown-linux-musl \
1318
--to ~/.cargo/bin
1419
}

ci/script.sh

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
set -ex
22

33
main() {
4-
cargo generate-lockfile
5-
64
case $TARGET in
75
thumbv*-none-eabi*)
86
cross build --target $TARGET

0 commit comments

Comments
 (0)