Skip to content

Commit

Permalink
add workaround for broken windows workflow (#5693)
Browse files Browse the repository at this point in the history
Temporary fix for broken windows workflow. Hopefully a more permanent
solution will be found soon and we can then remove this.

Reference: actions/runner-images#8598
(cherry picked from commit 2acdc65)
(cherry picked from commit 4546f59)
(cherry picked from commit d3e8dab)
  • Loading branch information
notimaginative authored and MjnMixael committed Oct 20, 2023
1 parent 44e875c commit d808140
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d808140

Please sign in to comment.