diff options
author | 2018-08-07 16:42:18 -0500 | |
---|---|---|
committer | 2018-08-07 16:45:45 -0500 | |
commit | dd9f1e45ed17c06d2d21cd4cf2fced11edf72407 (patch) | |
tree | 07bf6f7ffd16961fe89feae3c4509e2599149727 | |
parent | b13192d0aaf011eb9bcb8498577d537f0d1c0b64 (diff) | |
download | cortex-m-dd9f1e45ed17c06d2d21cd4cf2fced11edf72407.tar.gz cortex-m-dd9f1e45ed17c06d2d21cd4cf2fced11edf72407.tar.zst cortex-m-dd9f1e45ed17c06d2d21cd4cf2fced11edf72407.zip |
get gcc from a tarball
-rw-r--r-- | cortex-m-rt/.travis.yml | 9 | ||||
-rw-r--r-- | cortex-m-rt/ci/install.sh | 6 |
2 files changed, 4 insertions, 11 deletions
diff --git a/cortex-m-rt/.travis.yml b/cortex-m-rt/.travis.yml index 6f17307..7381b73 100644 --- a/cortex-m-rt/.travis.yml +++ b/cortex-m-rt/.travis.yml @@ -7,7 +7,6 @@ matrix: - env: TARGET=thumbv6m-none-eabi rust: stable - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv6m-none-eabi CC=clang @@ -16,7 +15,6 @@ matrix: - env: TARGET=thumbv7m-none-eabi rust: stable - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7m-none-eabi CC=clang @@ -25,7 +23,6 @@ matrix: - env: TARGET=thumbv7em-none-eabi rust: stable - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7em-none-eabi CC=clang @@ -34,7 +31,6 @@ matrix: - env: TARGET=thumbv7em-none-eabihf rust: stable - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7em-none-eabihf CC=clang @@ -43,28 +39,25 @@ matrix: - env: TARGET=thumbv6m-none-eabi rust: nightly - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7m-none-eabi rust: nightly - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7em-none-eabi rust: nightly - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) - env: TARGET=thumbv7em-none-eabihf rust: nightly - sudo: true if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master) before_install: set -e install: - bash ci/install.sh + - export PATH="$PATH:$PWD/gcc/bin" script: - bash ci/script.sh diff --git a/cortex-m-rt/ci/install.sh b/cortex-m-rt/ci/install.sh index 567ca9d..f211207 100644 --- a/cortex-m-rt/ci/install.sh +++ b/cortex-m-rt/ci/install.sh @@ -5,9 +5,9 @@ main() { rustup target add $TARGET if [ ${CC:-gcc} = gcc ]; then - sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y - sudo apt-get update -q - sudo apt-get install gcc-arm-embedded -y + mkdir gcc + + 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 fi fi } |