2018-06-21 19:43:43 +03:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-07-12 17:31:15 +03:00
|
|
|
branches:
|
|
|
|
ignore:
|
|
|
|
- gh-pages
|
2018-06-21 19:43:43 +03:00
|
|
|
docker:
|
2020-04-30 03:47:37 +03:00
|
|
|
- image: circleci/buildpack-deps:20.04
|
2018-06-21 19:43:43 +03:00
|
|
|
environment:
|
|
|
|
- TESTDB: /tmp/test.db
|
|
|
|
- TESTLOG: /tmp/test.log
|
|
|
|
steps:
|
|
|
|
- checkout
|
2021-10-12 17:28:37 +03:00
|
|
|
- run: ulimit -c unlimited && MDBX_BUILD_OPTIONS="-DNDEBUG=1 -DMDBX_FORCE_ASSERTIONS=1" make test-ubsan
|
2018-06-21 19:43:43 +03:00
|
|
|
- run:
|
|
|
|
command: |
|
|
|
|
mkdir -p /tmp/artifacts
|
|
|
|
mv -t /tmp/artifacts $TESTLOG $TESTDB core.*
|
|
|
|
when: on_fail
|
|
|
|
- store_artifacts:
|
|
|
|
path: /tmp/artifacts
|
|
|
|
destination: test-artifacts
|