mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +01:00
Merge #269
269: [v0.4.x] CI: pin to an older nightly r=korken89 a=japaric to workaround compiletest-rs being broken on recent nightlies this is a backport of #267 and it's required to land #265 I'm not backporting #268 (compiletest -> trybuild) because this branch has compile-pass tests which depend on compiletest and can't be ported to trybuild Co-authored-by: Jorge Aparicio <jorge@japaric.io>
This commit is contained in:
commit
4c98bcd237
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
||||||
rustup target add $TARGET
|
# needed by compiletest-rs
|
||||||
|
rustup component add rustc-dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rustup target add $TARGET
|
||||||
|
|
||||||
mkdir qemu
|
mkdir qemu
|
||||||
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
||||||
chmod +x qemu/qemu-system-arm
|
chmod +x qemu/qemu-system-arm
|
||||||
|
|
Loading…
Reference in a new issue