Skip to content

Commit 116bbb1

Browse files
committed
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.
1 parent 6154116 commit 116bbb1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/micropython.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,18 @@ jobs:
5959
restore-keys: |
6060
ccache-micropython-${{ matrix.name }}-${{ github.ref }}
6161
ccache-micropython-${{ matrix.name }}-
62-
62+
6363
- uses: actions/checkout@v4
6464
with:
6565
submodules: true
6666
path: pimoroni-pico-${{ github.sha }}
67-
68-
- name: Install Compiler & CCache
67+
68+
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc)
69+
uses: carlosperate/arm-none-eabi-gcc-action@v1
70+
with:
71+
release: '9-2020-q2'
72+
73+
- name: Install CCache
6974
run: |
7075
source $BUILD_TOOLS
7176
build_deps

ci/micropython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function clone_micropython {
3333
}
3434

3535
function build_deps {
36-
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
36+
sudo apt update && sudo apt install ccache
3737
}
3838

3939
function clone_pimoroni_pico {

0 commit comments

Comments
 (0)