File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 2222 cmake -S . -B build `
2323 -DCMAKE_BUILD_TYPE=Debug `
2424 -DopenPMD_USE_MPI=OFF
25+
2526 cmake --build build --config Debug --parallel 2
27+ if(!$?) { Exit $LASTEXITCODE }
28+
29+ ctest --test-dir build -C Debug --output-on-failure
30+ if(!$?) { Exit $LASTEXITCODE }
31+
2632 cmake --build build --config Debug --target install
33+ if(!$?) { Exit $LASTEXITCODE }
2734
2835# add before install, and fix Python path:
2936# ctest --test-dir build -C Debug --output-on-failure
@@ -70,10 +77,14 @@ jobs:
7077 -G "Ninja" ^
7178 -DCMAKE_C_COMPILER=clang-cl ^
7279 -DCMAKE_CXX_COMPILER=clang-cl ^
73- -DCMAKE_BUILD_TYPE=Release ^
80+ -DCMAKE_BUILD_TYPE=RelWithDebInfo ^
7481 -DopenPMD_USE_MPI=OFF
75- cmake --build build --config Release --parallel 2
76- cmake --build build --config Debug --target install
7782
78- # add before install, and fix Python path:
79- # ctest --test-dir build -C Debug --output-on-failure
83+ cmake --build build --config RelWithDebInfo --parallel 2
84+ if errorlevel 1 exit 1
85+
86+ ctest --test-dir build -C RelWithDebInfo --output-on-failure
87+ if errorlevel 1 exit 1
88+
89+ cmake --build build --config RelWithDebInfo --target install
90+ if errorlevel 1 exit 1
You can’t perform that action at this time.
0 commit comments