aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
diff options
context:
space:
mode:
authorGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-26 23:57:12 +0000
committerGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-26 23:57:12 +0000
commit478418c0eb38b9311e574d18d12cac69d3044e63 (patch)
tree0c3eed1a715253acf3378da4c731781fb72bd0e3 /ci/install.sh
parentdfd0349772763e07b16bcaa13f536bfa381044b8 (diff)
parent945e2683f89a031b44b65d25e1917f3157c49fa1 (diff)
downloadcortex-m-478418c0eb38b9311e574d18d12cac69d3044e63.tar.gz
cortex-m-478418c0eb38b9311e574d18d12cac69d3044e63.tar.zst
cortex-m-478418c0eb38b9311e574d18d12cac69d3044e63.zip
Merge #108
108: remove build dependency on arm-none-eabi-gcc r=adamgreig a=japaric by shipping pre-assembled object files. This is the same approach as the one used in rust-embedded/cortex-m#95 r? @rust-embedded/cortex-m (anyone) Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'ci/install.sh')
-rw-r--r--ci/install.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/ci/install.sh b/ci/install.sh
index a0cbf43..371cc8e 100644
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -6,9 +6,10 @@ main() {
rustup target add $TARGET
;;
esac
+
+ 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
}
-# NOTE(TRAVIS_BRANCH) Travis is configured to only build *pushes* (not PRs)
-if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_EVENT_TYPE = cron ]; then
- main
-fi
+main