From 4a00c5eda4149cdfb2dea5990cf819e9e8506c05 Mon Sep 17 00:00:00 2001 From: Alex Brooke Date: Sun, 1 Sep 2019 04:21:01 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Update=20toolchain=20installatio?= =?UTF-8?q?n=20for=20azure=20(#163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update toolchain installation for azure the PPA was hanging, and it installs an old version anyway * Update azure-pipelines.yml Co-Authored-By: Elliot Berman --- azure-pipelines.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c744a7975..980b66417 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,9 @@ jobs: - job: BuildTemplate + variables: + toolchain_update_short: 8-2019q3 + toolchain_update: 8-2019-q3 + toolchain: https://developer.arm.com/-/media/Files/downloads/gnu-rm/$(toolchain_update_short)/RC1.1/gcc-arm-none-eabi-$(toolchain_update)-update-linux.tar.bz2 pool: vmImage: 'ubuntu-16.04' steps: @@ -10,9 +14,9 @@ jobs: sshPublicKey: $(gh.publickey) - checkout: self - bash: | - sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa - sudo apt-get update - sudo apt-get install gcc-arm-embedded + curl -LSso toolchain.tar.bz2 $(toolchain) + tar -xjvf toolchain.tar.bz2 + echo "##vso[task.prependpath]$(pwd)/gcc-arm-none-eabi-$(toolchain_update)-update/bin" displayName: Install gcc-arm-embedded - task: UsePythonVersion@0 inputs: