From 80ba596329692ae2ec7005a205b3f1f0fc6e08f1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Nov 2026 18:31:55 +0000 Subject: [PATCH 1/2] Initial plan From d827ef1375420f4a300b9eb88941f664a89b8aee Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Nov 2026 18:33:38 +0000 Subject: [PATCH 2/2] Retry transient MSYS2 package download failures Co-authored-by: danmar <60195+danmar@users.noreply.github.com> --- .github/workflows/CI-mingw.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI-mingw.yml b/.github/workflows/CI-mingw.yml index eb88a4a57fc..88739c16b32 100644 --- a/.github/workflows/CI-mingw.yml +++ b/.github/workflows/CI-mingw.yml @@ -42,11 +42,18 @@ jobs: with: release: false # use pre-installed # TODO: install mingw-w64-x86_64-make and use mingw32.make instead - currently fails with "Windows Subsystem for Linux has no installed distributions." - install: >- - mingw-w64-x86_64-lld - mingw-w64-x86_64-ccache - make - mingw-w64-x86_64-gcc + + - name: Install MSYS2 packages + run: | + for attempt in 1 2 3; do + if pacman --noconfirm -S --needed --overwrite '*' mingw-w64-x86_64-lld mingw-w64-x86_64-ccache make mingw-w64-x86_64-gcc; then + exit 0 + fi + if [ "$attempt" -eq 3 ]; then + exit 1 + fi + sleep 10 + done - name: ccache uses: hendrikmuhs/ccache-action@v1.2.24