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.ci/tooling
rodzic
6154116662
commit
116bbb1296
|
@ -59,13 +59,18 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
ccache-micropython-${{ matrix.name }}-${{ github.ref }}
|
ccache-micropython-${{ matrix.name }}-${{ github.ref }}
|
||||||
ccache-micropython-${{ matrix.name }}-
|
ccache-micropython-${{ matrix.name }}-
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
path: pimoroni-pico-${{ github.sha }}
|
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: |
|
run: |
|
||||||
source $BUILD_TOOLS
|
source $BUILD_TOOLS
|
||||||
build_deps
|
build_deps
|
||||||
|
|
|
@ -33,7 +33,7 @@ function clone_micropython {
|
||||||
}
|
}
|
||||||
|
|
||||||
function build_deps {
|
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 {
|
function clone_pimoroni_pico {
|
||||||
|
|
Ładowanie…
Reference in New Issue