0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

appveyor: Skip extra builds for tags; minor cleanup.

This commit is contained in:
Jason Volk 2023-03-16 22:06:01 -07:00
parent 76def3378f
commit c6ce4d3229

View file

@ -1,8 +1,9 @@
version: master_{build}
clone_depth: 1
skip_tags: true
services:
- docker
- docker
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
@ -18,8 +19,8 @@ environment:
DOCKER_IMAGE: jevolk/construct:ubuntu-22.04-full-build-clang-15-amd64
for:
-
build_script:
-
build_script:
- docker run -v `pwd`:/build "${DOCKER_IMAGE}" /bin/bash -c "${COMMAND}"
matrix: