0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

appveyor: Add [ci gdb] support to build in conjunction with [ci debug].

This commit is contained in:
Jason Volk 2022-06-22 17:11:20 -07:00
parent ee496e1bd1
commit 856745d178

View file

@ -5,7 +5,7 @@ services:
- docker
environment:
COMMAND: if [[ "${APPVEYOR_REPO_COMMIT_MESSAGE}" == *"[ci debug]"* ]]; then export DEBUG_FLAGS="--enable-debug"; fi && rmdir -v deps/rocksdb && ln -sv /usr/src/rocksdb deps && ./autogen.sh && ./configure --enable-assert ${DEBUG_FLAGS} && make install && construct -smoketest -debug localhost
COMMAND: if [[ "${APPVEYOR_REPO_COMMIT_MESSAGE}" == *"[ci debug]"* ]]; then export DEBUG_FLAGS="--enable-debug"; fi; if [[ "${APPVEYOR_REPO_COMMIT_MESSAGE}" == *"[ci gdb]"* ]]; then apt-get update && apt-get -y install gdb && export CONSTRUCT="gdb --batch -ex r -ex bt --return-child-result --args construct"; else export CONSTRUCT="construct"; fi && rmdir -v deps/rocksdb && ln -sv /usr/src/rocksdb deps && ./autogen.sh && ./configure --enable-assert ${DEBUG_FLAGS} && make install && ${CONSTRUCT} -smoketest -debug localhost
matrix:
# - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804