appveyor: Isolate appveyor to specific branch (disable appveyor).

This commit is contained in:
Jason Volk 2023-04-01 09:37:38 -07:00
parent 7929733978
commit 2db42a7e70
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ skip_tags: true
services:
- docker
branches:
only:
- appveyor
environment:
COMMAND: if [[ "${APPVEYOR_REPO_COMMIT_MESSAGE@Q}" == *"[ci debug]"* ]]; then export DEBUG_FLAGS="--enable-debug"; fi; if [[ "${APPVEYOR_REPO_COMMIT_MESSAGE@Q}" == *"[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