Skip to content

Commit

Permalink
CI: Windows Pip Install & Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 27, 2023
1 parent 43c4bf4 commit f547623
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,28 @@ jobs:
# add before install, and fix Python path:
# ctest --test-dir build -C Debug --output-on-failure

build_win_msvc_pip:
name: MSVC w/o MPI via pip
runs-on: windows-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- name: Build & Install
run: |
python3.exe -m pip install --upgrade pip setuptools wheel
python3.exe -m pip install --upgrade cmake
python3.exe -m pip install --upgrade numpy
python3.exe -m pip wheel .
if(!$?) { Exit $LASTEXITCODE }
python3.exe -m pip install openPMD_api-0.15.0-cp39-cp39-win_amd64.whl
if(!$?) { Exit $LASTEXITCODE }
python3.exe -c "import openpmd_api as api; print(api.variants)"
if(!$?) { Exit $LASTEXITCODE }
python3.exe -m openpmd_api.ls --help
if(!$?) { Exit $LASTEXITCODE }
build_win_clang:
name: Clang w/o MPI
Expand Down

0 comments on commit f547623

Please sign in to comment.