Skip to content

Commit daa3cb0

Browse files
committed
Build with tests by default
1 parent 8f150c3 commit daa3cb0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
- run:
116116
name: Build
117117
command: |
118-
cmake -G Ninja -B build/ -DWITH_TESTS=On -DCODE_COVERAGE=On
118+
cmake -G Ninja -B build/ -DWITH_FLAKY_TESTS=Off -DCODE_COVERAGE=On
119119
cmake --build build/
120120
# Testing rubbish:
121121
cp test/ci.oid.toml build/testing.oid.toml

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ include(cmake/CompilerWarnings.cmake)
2222
option(STATIC_LINK "Statically link oid" OFF)
2323
option(ASAN "Enable address sanitizer" OFF)
2424
option(CODE_COVERAGE "Enable code coverage" OFF)
25-
option(WITH_TESTS "Build with tests" Off)
26-
option(WITH_FLAKY_TESTS "Build with flaky tests" OFF)
25+
option(WITH_TESTS "Build with tests" On)
26+
option(WITH_FLAKY_TESTS "Build with flaky tests" On)
2727
option(FORCE_BOOST_STATIC "Build with static boost" On)
2828
option(FORCE_LLVM_STATIC "Build with static llvm and clang" On)
2929

website/docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First ensure your system has all the dependencies installed. We have tested on U
1414
$ sudo apt-get update
1515
$ sudo apt-get install -y bison autopoint build-essential clang-12 cmake flex gawk libboost-all-dev libbz2-dev libcap2-bin libclang-12-dev libcurl4-gnutls-dev libdouble-conversion-dev libdw-dev libfmt-dev libgflags-dev libgmock-dev libgoogle-glog-dev libgtest-dev libjemalloc-dev libmsgpack-dev libzstd-dev llvm-12-dev ninja-build pkg-config python3-setuptools sudo xsltproc libboost-all-dev
1616
$ sudo pip3 install toml
17-
$ cmake -G Ninja -B build/ -DWITH_TESTS=On
17+
$ cmake -G Ninja -B build/
1818
```
1919

2020
### OpenSuse Tumbleweed

0 commit comments

Comments
 (0)