mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
install rustc-dev component
This commit is contained in:
parent
eb7ae13b9c
commit
79c3afa9b0
2 changed files with 6 additions and 4 deletions
|
@ -12,8 +12,7 @@ matrix:
|
|||
|
||||
# NOTE used to build docs on successful merges to master
|
||||
- env: TARGET=x86_64-unknown-linux-gnu
|
||||
# FIXME revert this -- compiletest-rs v0.3.25 is broken with recent nightly
|
||||
rust: nightly-2019-10-31
|
||||
rust: nightly
|
||||
|
||||
- env: TARGET=thumbv6m-none-eabi
|
||||
rust: nightly
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
set -euxo pipefail
|
||||
|
||||
main() {
|
||||
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
|
||||
rustup target add $TARGET
|
||||
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
||||
# needed by compiletest-rs
|
||||
rustup component add rustc-dev
|
||||
fi
|
||||
|
||||
rustup target add $TARGET
|
||||
|
||||
mkdir qemu
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue