Skip to content

Commit

Permalink
fancy way to get GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Jan 5, 2025
1 parent f5ce9a2 commit 4981eac
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ jobs:
with:
submodules: recursive

# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path
- name: Download & Install GCC
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
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-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-2020-q2-update/bin"
- name: Acquire GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '12.3.Rel1'

# Make sure the compiler we just downloaded works - just print out the version
- name: Test Compiler
Expand Down

0 comments on commit 4981eac

Please sign in to comment.