Skip to content

Commit a3acd03

Browse files
committed
fix: set GLOBAL mirror before mcpp test (gtest download on GH runners)
When cache misses (e.g., .xlings.json changed), gtest needs fresh download. Default CN mirror is unreachable from GitHub runners. Set GLOBAL mirror before test step, same as E2E already does.
1 parent 385bfab commit a3acd03

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
9696
- name: Unit + integration tests via `mcpp test`
9797
run: |
98+
# Ensure GLOBAL mirror for package downloads (runner is outside CN)
99+
"$MCPP" self config --mirror GLOBAL
98100
"$MCPP" test
99101
100102
- name: E2E suite

0 commit comments

Comments
 (0)