Skip to content

Commit 4988c2f

Browse files
committed
Attempt to fix job failures
1 parent 3b3aa2e commit 4988c2f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/test-build-cmake-mac.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,17 @@ jobs:
5353
5454
- name: Install toolchain and build tools
5555
run: |
56+
# Clean download directory (prevents mismatch failures)
57+
rm -rf /Users/runner/Library/Caches/Homebrew/downloads/*
58+
5659
# Install with step throttle to hopefully avoid stuck jobs
5760
5861
set -euxo pipefail
5962
6063
throttle_delay=5
6164
brew update
65+
brew upgrade
66+
brew cleanup
6267
6368
sleep "$throttle_delay"
6469
brew install --force-bottle cmake

.github/workflows/test-build-cmake-presets.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,10 @@ jobs:
5858
# Currently only supported on Ubuntu
5959

6060
# ARM GCC toolchain (adds the bin dir to PATH)
61-
- name: Set up ARM none-eabi GCC 14.x
62-
if: matrix.target != 'sim'
63-
uses: carlosperate/arm-none-eabi-gcc-action@v1
64-
with:
65-
release: "14.2.Rel1" # <-- use 'release', not 'version'
66-
path-env-var: ARM_NONE_EABI_GCC_PATH
67-
61+
- name: Set up ARM none-eabi GCC
62+
run: |
63+
sudo apt update
64+
sudo apt install -y gcc-arm-none-eabi
6865
6966
- name: List all environment variables
7067
run: |

0 commit comments

Comments
 (0)