Skip to content

Commit

Permalink
CI: Windows Pre-Install Python Tests
Browse files Browse the repository at this point in the history
Make sure one can run Python tests without prior install on Windows.
  • Loading branch information
ax3l committed Mar 20, 2023
1 parent bf385dd commit d175b9b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug `
-DopenPMD_USE_MPI=OFF
cmake --build build --config Debug --parallel 2
ctest --test-dir build -C Debug --output-on-failure
cmake --build build --config Debug --target install
# add before install, and fix Python path:
# ctest --test-dir build -C Debug --output-on-failure

build_win_clang:
name: Clang w/o MPI
Expand All @@ -48,10 +46,8 @@ jobs:
-G "Ninja" ^
-DCMAKE_C_COMPILER=clang-cl ^
-DCMAKE_CXX_COMPILER=clang-cl ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_BUILD_TYPE=RelWithDebInfo ^
-DopenPMD_USE_MPI=OFF
cmake --build build --config Release --parallel 2
cmake --build build --config Debug --target install
# add before install, and fix Python path:
# ctest --test-dir build -C Debug --output-on-failure
cmake --build build --config RelWithDebInfo --parallel 2
ctest --test-dir build -C RelWithDebInfo --output-on-failure
cmake --build build --config RelWithDebInfo --target install

0 comments on commit d175b9b

Please sign in to comment.