Merge pull request #1430 from martinling/cache-arm-toolchain

CI: Use special action to install & cache GNU Arm toolchain
This commit is contained in:
Michael Ossmann
2024-04-04 11:27:02 -04:00
committed by GitHub

View File

@ -144,16 +144,18 @@ jobs:
with: with:
submodules: true submodules: true
- name: Install Arm GNU Toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1
- name: Install dependencies (macOS) - name: Install dependencies (macOS)
run: | run: |
brew install --cask gcc-arm-embedded
brew install dfu-util brew install dfu-util
pip3 install PyYAML pip3 install PyYAML
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
- name: Install dependencies (Ubuntu) - name: Install dependencies (Ubuntu)
run: | run: |
sudo apt install dfu-util gcc-arm-none-eabi sudo apt install dfu-util
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- name: Build libopencm3 - name: Build libopencm3