Skip to content

Commit a912bf9

Browse files
committed
[ci] use pre-compiled qemu-system-arm binary.
1 parent 6aa0c0b commit a912bf9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

cortex-m-rt/.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
language: rust
22

3-
addons:
4-
apt:
5-
packages:
6-
- qemu-system-arm
7-
83
matrix:
94
include:
105
- env: TARGET=x86_64-unknown-linux-gnu
@@ -52,7 +47,7 @@ before_install: set -e
5247

5348
install:
5449
- bash ci/install.sh
55-
- export PATH="$PATH:$PWD/gcc/bin"
50+
- export PATH="$PATH:$PWD/gcc/bin:$PWD/qemu"
5651

5752
script:
5853
- bash ci/script.sh

cortex-m-rt/ci/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ main() {
88
mkdir gcc
99

1010
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update | tar --strip-components=1 -C gcc -xj
11+
12+
mkdir qemu
13+
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
14+
chmod +x qemu/qemu-system-arm
1115
}
1216

1317
main

0 commit comments

Comments
 (0)