ci: build in Debug mode to help find the deadlock

This commit is contained in:
Andrew Kelley 2020-12-25 18:39:13 -07:00
parent c7834f274d
commit c452bb1322

View File

@ -17,8 +17,8 @@ git config core.abbrev 9
mkdir build
cd build
# TODO figure out why Drone CI is deadlocking and stop passing -DZIG_SINGLE_THREADED=ON
cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local -GNinja -DZIG_SINGLE_THREADED=ON
# TODO put this back on Release
cmake .. -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local -GNinja
samu install
./zig build test -Dskip-release -Dskip-non-native