Skip to content

Commit

Permalink
CI: build-windows-minimum: workaround crash in Java programs
Browse files Browse the repository at this point in the history
Try to work around actions/runner-images#10055
  • Loading branch information
rouault committed Jun 12, 2024
1 parent e17cc8e commit 95d092d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cmake_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,13 @@ jobs:
- name: Build
shell: bash -l {0}
run: cmake --build $GITHUB_WORKSPACE/build --config RelWithDebInfo -j 2

# Works around https://github.com/actions/runner-images/issues/10055
- name: Remove conflicting libraries
shell: bash -l {0}
run: |
find "C:/hostedtoolcache/windows/Java_Temurin-Hotspot_jdk" -name "msvcp140.dll" -exec rm {} \;
- name: test (with ctest)
shell: bash -l {0}
run: |
Expand Down

0 comments on commit 95d092d

Please sign in to comment.