From 4546f597d98432d47a948efb8c041cd93fb47b3e Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Thu, 19 Oct 2023 17:39:04 -0400 Subject: [PATCH] add workaround for broken windows workflow (#5693) Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: https://github.com/actions/runner-images/issues/8598 (cherry picked from commit 2acdc658753cca2036295836e6a406521d37db9d) --- .github/workflows/build-nightly.yaml | 6 ++++++ .github/workflows/build-test.yaml | 6 ++++++ .github/workflows/test-pull_request.yaml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/.github/workflows/build-nightly.yaml b/.github/workflows/build-nightly.yaml index 5cd74582a14..1397acf0e73 100644 --- a/.github/workflows/build-nightly.yaml +++ b/.github/workflows/build-nightly.yaml @@ -144,6 +144,12 @@ jobs: vulkan-query-version: 1.3.204.0 vulkan-components: Vulkan-Headers, Vulkan-Loader vulkan-use-cache: true + # workaround for failing download of prebuilt libs in 20231016.1.0 runner + # https://github.com/actions/runner-images/issues/8598 + - 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: Configure CMake env: CONFIGURATION: ${{ matrix.configuration }} diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 39d8d011219..3e21f7eeb2a 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -157,6 +157,12 @@ jobs: vulkan-query-version: 1.3.204.0 vulkan-components: Vulkan-Headers, Vulkan-Loader vulkan-use-cache: true + # workaround for failing download of prebuilt libs in 20231016.1.0 runner + # https://github.com/actions/runner-images/issues/8598 + - 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: Configure CMake env: CONFIGURATION: ${{ matrix.configuration }} diff --git a/.github/workflows/test-pull_request.yaml b/.github/workflows/test-pull_request.yaml index dae3381c5e0..856019698cc 100644 --- a/.github/workflows/test-pull_request.yaml +++ b/.github/workflows/test-pull_request.yaml @@ -123,6 +123,12 @@ jobs: vulkan-query-version: 1.3.204.0 vulkan-components: Vulkan-Headers, Vulkan-Loader vulkan-use-cache: true + # workaround for failing download of prebuilt libs in 20231016.1.0 runner + # https://github.com/actions/runner-images/issues/8598 + - 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: Configure CMake env: CONFIGURATION: ${{ matrix.configuration }}