kopia lustrzana https://github.com/pimoroni/pimoroni-pico
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
rodzic
6154116662
commit
116bbb1296
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue