Skip to content

Commit c0c5de5

Browse files
committed
👷‍♀️ SNAFU with Windows Image + Clang version
1 parent 00ed72e commit c0c5de5

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/push-pull_request.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- ubuntu
1717
- windows
1818
- macos
19+
image_version:
20+
- latest
21+
- 2025
1922
compiler:
2023
- msvc
2124
- gcc
@@ -32,7 +35,14 @@ jobs:
3235
os: ubuntu
3336
- compiler: msvc
3437
os: macos
35-
runs-on: ${{matrix.os}}-latest
38+
# workarounds for shitty hard requirements in MSVC STL
39+
- os: ubuntu
40+
image_version: 2025
41+
- os: macos
42+
image_version: 2025
43+
- os: windows
44+
image_version: latest
45+
runs-on: ${{matrix.os}}-${{matrix.image_version}}
3646
env:
3747
CMAKE_CXX_STANDARD: ${{matrix.cxx_standard}}
3848
CMAKE_C_STANDARD: ${{matrix.c_standard}}
@@ -46,10 +56,10 @@ jobs:
4656
- uses: seanmiddleditch/gha-setup-ninja@master
4757
if: ${{matrix.os == 'windows'}}
4858
# actual runs
49-
- name: Execute CMake Workflow (Windows)
59+
- name: Execute CMake Workflow (Windows and MSVC)
5060
if: ${{(matrix.os == 'windows' && matrix.compiler == 'msvc')}}
5161
shell: vsdevenv x64 powershell {0}
5262
run: cmake --workflow --preset ${{matrix.compiler}}
53-
- name: Execute CMake Workflow (Non-Windows)
63+
- name: Execute CMake Workflow (Non-Windows and Non-MSVC)
5464
if: ${{(matrix.os != 'windows' || matrix.compiler != 'msvc')}}
5565
run: cmake --workflow --preset ${{matrix.compiler}}

0 commit comments

Comments
 (0)