From c03633e108b9f8b5a72f3b693e41bcac8ed60e40 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 4 Jan 2025 21:24:45 -0500 Subject: [PATCH] fancy way to get GCC --- .github/workflows/build-firmware.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index bdc7410..74c6c1f 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -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