Skip to content

Commit 8621f84

Browse files
committed
CI: Win32 Build
1 parent 26b6866 commit 8621f84

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/windows.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,29 @@ jobs:
7777
7878
# add before install, and fix Python path:
7979
# ctest --test-dir build -C Debug --output-on-failure
80+
81+
build_win_32bit:
82+
name: MSVC 32bit w/o MPI
83+
runs-on: windows-latest
84+
if: github.event.pull_request.draft == false
85+
steps:
86+
- uses: actions/checkout@v4
87+
- uses: conda-incubator/setup-miniconda@v3
88+
name: Setup conda
89+
with:
90+
architecture: "x86"
91+
auto-update-conda: true
92+
activate-environment: openpmd-api-dev
93+
environment-file: conda.yml
94+
channels: conda-forge
95+
channel-priority: true
96+
- uses: seanmiddleditch/gha-setup-ninja@master
97+
- name: Build & Install
98+
run: |
99+
cmake -S . -B build ^
100+
-G "Ninja" ^
101+
-DCMAKE_BUILD_TYPE=Release ^
102+
-DopenPMD_USE_MPI=OFF
103+
cmake --build build --config Release --parallel 2
104+
ctest --test-dir build --output-on-failure -C Release
105+
cmake --build build --config Release --target install

0 commit comments

Comments
 (0)