Skip to content

Commit d175b9b

Browse files
committed
CI: Windows Pre-Install Python Tests
Make sure one can run Python tests without prior install on Windows.
1 parent bf385dd commit d175b9b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/windows.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ jobs:
2323
-DCMAKE_BUILD_TYPE=Debug `
2424
-DopenPMD_USE_MPI=OFF
2525
cmake --build build --config Debug --parallel 2
26+
ctest --test-dir build -C Debug --output-on-failure
2627
cmake --build build --config Debug --target install
2728
28-
# add before install, and fix Python path:
29-
# ctest --test-dir build -C Debug --output-on-failure
30-
3129
3230
build_win_clang:
3331
name: Clang w/o MPI
@@ -48,10 +46,8 @@ jobs:
4846
-G "Ninja" ^
4947
-DCMAKE_C_COMPILER=clang-cl ^
5048
-DCMAKE_CXX_COMPILER=clang-cl ^
51-
-DCMAKE_BUILD_TYPE=Release ^
49+
-DCMAKE_BUILD_TYPE=RelWithDebInfo ^
5250
-DopenPMD_USE_MPI=OFF
53-
cmake --build build --config Release --parallel 2
54-
cmake --build build --config Debug --target install
55-
56-
# add before install, and fix Python path:
57-
# ctest --test-dir build -C Debug --output-on-failure
51+
cmake --build build --config RelWithDebInfo --parallel 2
52+
ctest --test-dir build -C RelWithDebInfo --output-on-failure
53+
cmake --build build --config RelWithDebInfo --target install

0 commit comments

Comments
 (0)