CI: Use arm-none-eabi-gcc-action

Speeds up toolchain install (when cached) to ~7s an decouples us from the runner OS ARM GCC version.
pull/878/head
Phil Howard 2023-11-16 12:37:36 +00:00
rodzic 6154116662
commit 116bbb1296
2 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -59,13 +59,18 @@ jobs:
restore-keys: |
ccache-micropython-${{ matrix.name }}-${{ github.ref }}
ccache-micropython-${{ matrix.name }}-
- uses: actions/checkout@v4
with:
submodules: true
path: pimoroni-pico-${{ github.sha }}
- name: Install Compiler & CCache
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '9-2020-q2'
- name: Install CCache
run: |
source $BUILD_TOOLS
build_deps

Wyświetl plik

@ -33,7 +33,7 @@ function clone_micropython {
}
function build_deps {
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
sudo apt update && sudo apt install ccache
}
function clone_pimoroni_pico {