Skip to content

Commit 74a44d8

Browse files
authored
Merge pull request #116 from ax3l/fix-win-clangcl-omp
CI: Update Clang-Cl w/ OpenMP
2 parents 78d2c55 + 5c6e13b commit 74a44d8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: MSVC C++17 w/o Fortran w/o MPI
99
runs-on: windows-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Build & Install
1313
run: |
1414
cd ExampleCodes
@@ -28,15 +28,16 @@ jobs:
2828
name: Clang C++17 w/o Fortran w/o MPI
2929
runs-on: windows-latest
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: seanmiddleditch/gha-setup-ninja@master
31+
- uses: actions/checkout@v4
3332
- name: Build & Install
3433
shell: cmd
34+
env:
35+
CMAKE_GENERATOR_TOOLSET: "ClangCl"
36+
CMAKE_GENERATOR: "Visual Studio 17 2022"
3537
run: |
36-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
38+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
3739
cd ExampleCodes
3840
cmake -S . -B build ^
39-
-T "ClangCl" ^
4041
-DCMAKE_BUILD_TYPE=Release ^
4142
-DBUILD_SHARED_LIBS=ON ^
4243
-DCMAKE_VERBOSE_MAKEFILE=ON ^

0 commit comments

Comments
 (0)