Skip to content

Commit 826cd90

Browse files
committed
fix: ci.yml — install musl-gcc before setting default
The musl-gcc test step assumed the toolchain was already cached. After cache clears, `toolchain default gcc@15.1.0-musl` fails with "not installed". Add explicit install before setting default.
1 parent e36c924 commit 826cd90

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
- name: "Toolchain: musl-gcc — mcpp new → build → run"
148148
run: |
149149
MCPP=$(realpath "$(find target -type f -name mcpp -printf '%T@ %p\n' | sort -rn | head -1 | cut -d' ' -f2)")
150+
"$MCPP" toolchain install gcc 15.1.0-musl
150151
"$MCPP" toolchain default gcc@15.1.0-musl
151152
TMP=$(mktemp -d)
152153
cd "$TMP"

0 commit comments

Comments
 (0)