update gcc (#1939)

* update compiler

* lgtm

* typo
This commit is contained in:
Matthew Kennedy 2020-11-11 05:30:26 -08:00 committed by GitHub
parent c15a4a22d2
commit 54b613b202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -105,18 +105,19 @@ jobs:
# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path
- name: Download & Install GCC
run: | # Compiler hosted on our other git repo - avoids having to download from the nice folks at ARM every time
wget 'https://github.com/rusefi/build_support/raw/master/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.xz' -O compiler.tar.xz
wget 'https://github.com/rusefi/build_support/raw/master/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.xz' -O compiler.tar.xz
tar -xvf compiler.tar.xz
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2019-q4-major/bin"
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2020-q2-update/bin"
# Make sure the compiler we just downloaded works - just print out the version
- name: Test Compiler
run: arm-none-eabi-gcc -v
- name: Install multilib, mingw, and ncftp
run: |
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 ncftp
# Make sure the compiler we just downloaded works - just print out the version
- name: Test Compiler
run: arm-none-eabi-gcc -v
- name: Set FTP variables
run: |
@ -204,9 +205,9 @@ jobs:
# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path
- name: Download & Install GCC
run: | # Compiler hosted on our other git repo - avoids having to download from the nice folks at ARM every time
wget 'https://github.com/rusefi/build_support/raw/master/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.xz' -O compiler.tar.xz
wget 'https://github.com/rusefi/build_support/raw/master/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.xz' -O compiler.tar.xz
tar -xvf compiler.tar.xz
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2019-q4-major/bin"
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2020-q2-update/bin"
- name: Install multilib, mingw, and ncftp
run: |

View File

@ -1,7 +1,7 @@
extraction:
cpp:
after_prepare:
- "export GCC=gcc-arm-none-eabi-9-2019-q4-major"
- "export GCC=gcc-arm-none-eabi-9-2020-q2-update"
- "wget https://github.com/rusefi/build_support/raw/master/${GCC}-x86_64-linux.tar.xz -O compiler.tar.xz"
- "tar xf compiler.tar.xz -C ${LGTM_WORKSPACE}"
- "mv ${LGTM_WORKSPACE}/${GCC} ${LGTM_WORKSPACE}/gcc-arm"