Merge pull request #1430 from martinling/cache-arm-toolchain
CI: Use special action to install & cache GNU Arm toolchain
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user