Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Windows Pre-Install Python Tests #1389

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,15 @@ jobs:
cmake -S . -B build `
-DCMAKE_BUILD_TYPE=Debug `
-DopenPMD_USE_MPI=OFF

cmake --build build --config Debug --parallel 2
if(!$?) { Exit $LASTEXITCODE }

ctest --test-dir build -C Debug --output-on-failure
if(!$?) { Exit $LASTEXITCODE }

cmake --build build --config Debug --target install
if(!$?) { Exit $LASTEXITCODE }

# add before install, and fix Python path:
# ctest --test-dir build -C Debug --output-on-failure
Expand Down Expand Up @@ -70,10 +77,14 @@ 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
if errorlevel 1 exit 1

ctest --test-dir build -C RelWithDebInfo --output-on-failure
if errorlevel 1 exit 1

cmake --build build --config RelWithDebInfo --target install
if errorlevel 1 exit 1