2016-05-15 03:14:08 +02:00
|
|
|
version: master_{build}
|
2019-04-04 08:04:55 +02:00
|
|
|
clone_depth: 1
|
2023-03-17 06:06:01 +01:00
|
|
|
skip_tags: true
|
2019-04-04 08:04:55 +02:00
|
|
|
|
|
|
|
services:
|
2023-03-17 06:06:01 +01:00
|
|
|
- docker
|
2019-04-04 08:04:55 +02:00
|
|
|
|
2023-04-01 18:37:38 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- appveyor
|
|
|
|
|
2020-03-09 17:16:06 +01:00
|
|
|
environment:
|
2022-06-23 23:10:33 +02:00
|
|
|
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
|
2020-03-09 17:16:06 +01:00
|
|
|
|
|
|
|
matrix:
|
2020-04-18 11:20:52 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
2023-03-12 21:28:02 +01:00
|
|
|
DOCKER_IMAGE: jevolk/construct:ubuntu-22.04-base-build-gcc-10-amd64
|
2019-04-04 08:04:55 +02:00
|
|
|
|
2020-07-14 06:34:47 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
2022-08-09 03:31:47 +02:00
|
|
|
DOCKER_IMAGE: jevolk/construct:ubuntu-22.04-base-build-gcc-12-amd64
|
2022-06-21 18:29:39 +02:00
|
|
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
|
2023-02-11 23:47:00 +01:00
|
|
|
DOCKER_IMAGE: jevolk/construct:ubuntu-22.04-full-build-clang-15-amd64
|
2020-07-14 06:34:47 +02:00
|
|
|
|
2020-03-09 17:16:06 +01:00
|
|
|
for:
|
2023-03-17 06:06:01 +01:00
|
|
|
-
|
|
|
|
build_script:
|
2020-03-09 17:16:06 +01:00
|
|
|
- docker run -v `pwd`:/build "${DOCKER_IMAGE}" /bin/bash -c "${COMMAND}"
|
2019-04-04 08:04:55 +02:00
|
|
|
|
2020-03-09 17:16:06 +01:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2019-04-04 08:04:55 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: Webhook
|
|
|
|
url: http://zemos.net:8448/webhook
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|