From 4fbc9258a1b78d86704a03e3e898209be73ae4e7 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Thu, 2 Nov 2023 02:29:19 -0400 Subject: [PATCH] ci/windows: stop Strawberry perl from changing resulting built artifacts in CI (#3114) --- .github/workflows/windows-build-clang.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/windows-build-clang.yaml b/.github/workflows/windows-build-clang.yaml index dbb6f91aa..d063ad159 100644 --- a/.github/workflows/windows-build-clang.yaml +++ b/.github/workflows/windows-build-clang.yaml @@ -49,6 +49,13 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 + # https://github.com/actions/runner-images/issues/5459 + # Causes binaries to be built differently, get rid of this garbage + - name: Remove Strawberry Perl from PATH + run: | + $env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", "" + "PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append + - name: CMake Generation shell: cmd run: cmake -B build --preset=${{ inputs.cmakePreset }} -DCMAKE_C_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe -DCMAKE_CXX_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe .