Skip to content

Commit e34539a

Browse files
committed
Change CI options
1 parent c1564c0 commit e34539a

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

.github/workflows/linux.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
-DopenPMD_USE_MPI=OFF \
3636
-DopenPMD_USE_HDF5=ON \
3737
-DopenPMD_USE_INVASIVE_TESTS=ON \
38-
-DopenPMD_USE_FILESYSTEM_HEADER=OFF \
3938
-DCMAKE_VERBOSE_MAKEFILE=ON
4039
cmake --build build --parallel 4
4140
cd build
@@ -267,10 +266,11 @@ jobs:
267266
env: {CXXFLAGS: -Werror, PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig}
268267
run: |
269268
share/openPMD/download_samples.sh build
270-
cmake -S . -B build \
271-
-DopenPMD_USE_PYTHON=ON \
272-
-DopenPMD_USE_MPI=ON \
273-
-DopenPMD_USE_HDF5=ON \
269+
cmake -S . -B build \
270+
-DopenPMD_USE_PYTHON=ON \
271+
-DopenPMD_USE_MPI=ON \
272+
-DopenPMD_USE_HDF5=ON \
273+
-DopenPMD_USE_FILESYSTEM_HEADER=ON \
274274
-DopenPMD_USE_INVASIVE_TESTS=ON
275275
cmake --build build --parallel 4
276276
ctest --test-dir build --output-on-failure
@@ -291,11 +291,12 @@ jobs:
291291
env: {CXXFLAGS: -Werror}
292292
run: |
293293
share/openPMD/download_samples.sh build
294-
cmake -S . -B build \
295-
-DopenPMD_USE_PYTHON=ON \
296-
-DopenPMD_USE_MPI=OFF \
297-
-DopenPMD_USE_HDF5=ON \
298-
-DopenPMD_USE_INVASIVE_TESTS=ON \
294+
cmake -S . -B build \
295+
-DopenPMD_USE_PYTHON=ON \
296+
-DopenPMD_USE_MPI=OFF \
297+
-DopenPMD_USE_HDF5=ON \
298+
-DopenPMD_USE_INVASIVE_TESTS=ON \
299+
-DopenPMD_USE_FILESYSTEM_HEADER=ON \
299300
-DPython_EXECUTABLE=$(which python3.10)
300301
cmake --build build --parallel 4
301302
ctest --test-dir build --output-on-failure
@@ -318,13 +319,14 @@ jobs:
318319
env: {CXXFLAGS: -Werror}
319320
run: |
320321
share/openPMD/download_samples.sh build
321-
cmake -S . -B build \
322+
cmake -S . -B build \
322323
-DCMAKE_CXX_FLAGS="-Wno-error=stringop-overread" \
323-
-DCMAKE_C_FLAGS="-Wno-error=stringop-overread" \
324-
-DopenPMD_USE_PYTHON=ON \
325-
-DopenPMD_USE_MPI=ON \
326-
-DopenPMD_USE_HDF5=ON \
327-
-DopenPMD_USE_ADIOS2=ON \
324+
-DCMAKE_C_FLAGS="-Wno-error=stringop-overread" \
325+
-DopenPMD_USE_PYTHON=ON \
326+
-DopenPMD_USE_MPI=ON \
327+
-DopenPMD_USE_HDF5=ON \
328+
-DopenPMD_USE_ADIOS2=ON \
329+
-DopenPMD_USE_FILESYSTEM_HEADER=ON \
328330
-DopenPMD_USE_INVASIVE_TESTS=ON
329331
cmake --build build --parallel 4
330332
ctest --test-dir build --output-on-failure

.github/workflows/windows.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ jobs:
6666
6767
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
6868
pwsh "share\openPMD\download_samples.ps1" build
69-
cmake -S . -B build ^
70-
-G "Ninja" ^
71-
-DCMAKE_C_COMPILER=clang-cl ^
72-
-DCMAKE_CXX_COMPILER=clang-cl ^
73-
-DCMAKE_BUILD_TYPE=Release ^
74-
-DopenPMD_USE_FILESYSTEM_HEADER=OFF ^
69+
cmake -S . -B build ^
70+
-G "Ninja" ^
71+
-DCMAKE_C_COMPILER=clang-cl ^
72+
-DCMAKE_CXX_COMPILER=clang-cl ^
73+
-DCMAKE_BUILD_TYPE=Release ^
7574
-DopenPMD_USE_MPI=OFF
7675
cmake --build build --config Release --parallel 2
7776
cmake --build build --config Debug --target install

0 commit comments

Comments
 (0)