From 3bd90769e05c66600710c0182d96a973f98c1561 Mon Sep 17 00:00:00 2001 From: Vicente Adolfo Bolea Sanchez Date: Tue, 29 Nov 2022 19:44:13 -0500 Subject: [PATCH] CI: Workaround for Windows builds 20221120.1 - Observed in windows-2022 and windows 2019 version 20221120.1 - It is a known issue on how CMake 3.25 discovers static libraries. - It consists in CMake wrongly picking static libraries from the Perl Strawberry distribution. Upstream issue: - https://github.com/actions/runner-images/issues/6627 --- .github/workflows/everything.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/everything.yml b/.github/workflows/everything.yml index bf00d264b4..cd1084f872 100644 --- a/.github/workflows/everything.yml +++ b/.github/workflows/everything.yml @@ -282,6 +282,8 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} path: source + - name: (WORKAROUND for windows-2022=20221120.1)) Remove Perl Strawberry + run: rm -rf C:/Strawberry/ - name: Setup shell: pwsh run: gha/scripts/ci/gh-actions/windows-setup.ps1