File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ jobs:
173173 thread_safety : " "
174174 build_mode : " Release"
175175 force_java_implementation : " jni"
176+ win_runner : " windows-2022"
177+ win_vs_generator : " Visual Studio 17 2022"
176178
177179 call-jni-latest-java :
178180 name : " JNI Latest Java Testing"
Original file line number Diff line number Diff line change @@ -903,7 +903,7 @@ jobs:
903903 # Windows w/ OneAPI
904904 #
905905 name : " Windows Intel CTest"
906- runs-on : windows-latest
906+ runs-on : windows-2022
907907 needs : [check-secret]
908908 steps :
909909 - name : Install Dependencies (Windows_intel)
Original file line number Diff line number Diff line change 7171
7272 Intel_oneapi_windows :
7373 name : " windows-oneapi ${{ inputs.build_mode }}"
74- runs-on : windows-2025
74+ runs-on : windows-2022
7575 steps :
7676 - name : Get Sources (Windows)
7777 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ jobs:
366366
367367 build_v2_0_win :
368368 name : " Intel DBG v2.0.0 default API no deprecated"
369- runs-on : windows-2025
369+ runs-on : windows-2022
370370 steps :
371371 # SETUP
372372 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Original file line number Diff line number Diff line change 3535 required : false
3636 default : " jni"
3737 type : string
38+ win_runner :
39+ description : " Windows runner version to use (windows-2022, windows-latest, etc.)"
40+ required : false
41+ default : " windows-latest"
42+ type : string
43+ win_vs_generator :
44+ description : " CMake generator to use for Visual Studio"
45+ required : false
46+ default : " Visual Studio 18 2026"
47+ type : string
3848
3949permissions :
4050 contents : read
7181 # No Fortran, parallel, or VFDs that rely on POSIX things
7282 - name : " Windows MSVC"
7383 ostype : windows
74- os : windows-latest
84+ os : ${{ inputs.win_runner }}
7585 shared : ON
7686 cpp : ON
7787 fortran : OFF
8494 parallel : OFF
8595 mirror_vfd : OFF
8696 direct_vfd : OFF
87- generator : " -G \" Visual Studio 18 2026 \" -A x64"
97+ generator : " -G \" ${{ inputs.win_vs_generator }} \" -A x64"
8898 run_tests : true
8999
90100 # Linux (Ubuntu) w/ gcc
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ jobs:
484484 # Windows w/ OneAPI
485485 #
486486 name : " Windows Intel CTest"
487- runs-on : windows-latest
487+ runs-on : windows-2022
488488 steps :
489489 - name : Get Actions
490490 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
You can’t perform that action at this time.
0 commit comments