Skip to content

Commit 6f46e56

Browse files
committed
ci(aarch64): force-clone latest xim-pkgindex (bypass index TTL for validation)
1 parent 6dba60b commit 6f46e56

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci-aarch64-fresh-install.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,16 @@ jobs:
5656
mcpp --version
5757
mcpp self config --mirror GLOBAL 2>/dev/null || true
5858
59-
- name: Refresh mcpp package index (pull latest xim-pkgindex)
59+
- name: Refresh mcpp package index (force latest xim-pkgindex)
6060
run: |
61-
mcpp index update 2>/dev/null || true
61+
# mcpp seeds a baseline index with a freshness TTL marker, so a plain
62+
# `index update` can no-op within the window. Force the latest index
63+
# so this run validates the native build against current packages.
64+
mcpp index update || true
65+
idx="$HOME/.mcpp/registry/data/xim-pkgindex"
66+
rm -rf "$idx"
67+
git clone --depth 1 https://github.com/openxlings/xim-pkgindex "$idx"
68+
grep -n "skipping relocation\|os.isfile(path.join(bindir" "$idx/pkgs/m/musl-gcc.lua" | head -2 || true
6269
6370
- name: Native build + run an `import std` program
6471
run: |

0 commit comments

Comments
 (0)