Skip to content

Commit

Permalink
💚 Update toolchain installation for azure (#163)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
HotelCalifornia and edjubuh authored Sep 1, 2019
1 parent 89e4333 commit 4a00c5e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 4a00c5e

Please sign in to comment.