parent
c15a4a22d2
commit
54b613b202
|
@ -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: |
|
||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue