Skip to content

Commit

Permalink
Merge pull request #1430 from martinling/cache-arm-toolchain
Browse files Browse the repository at this point in the history
CI: Use special action to install & cache GNU Arm toolchain
  • Loading branch information
mossmann committed Apr 4, 2024
2 parents 857d2ca + 85ff670 commit 22c9ff1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,18 @@ jobs:
with:
submodules: true

- name: Install Arm GNU Toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1

- name: Install dependencies (macOS)
run: |
brew install --cask gcc-arm-embedded
brew install dfu-util
pip3 install PyYAML
if: matrix.os == 'macos-latest'

- name: Install dependencies (Ubuntu)
run: |
sudo apt install dfu-util gcc-arm-none-eabi
sudo apt install dfu-util
if: matrix.os == 'ubuntu-latest'

- name: Build libopencm3
Expand Down

0 comments on commit 22c9ff1

Please sign in to comment.