Build with tests by default

This commit is contained in:
Alastair Robertson 2023-04-05 07:12:27 -07:00 committed by Alastair Robertson
parent 8f150c3d15
commit daa3cb06ec
3 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ jobs:
- run: - run:
name: Build name: Build
command: | command: |
cmake -G Ninja -B build/ -DWITH_TESTS=On -DCODE_COVERAGE=On cmake -G Ninja -B build/ -DWITH_FLAKY_TESTS=Off -DCODE_COVERAGE=On
cmake --build build/ cmake --build build/
# Testing rubbish: # Testing rubbish:
cp test/ci.oid.toml build/testing.oid.toml cp test/ci.oid.toml build/testing.oid.toml

View File

@ -22,8 +22,8 @@ include(cmake/CompilerWarnings.cmake)
option(STATIC_LINK "Statically link oid" OFF) option(STATIC_LINK "Statically link oid" OFF)
option(ASAN "Enable address sanitizer" OFF) option(ASAN "Enable address sanitizer" OFF)
option(CODE_COVERAGE "Enable code coverage" OFF) option(CODE_COVERAGE "Enable code coverage" OFF)
option(WITH_TESTS "Build with tests" Off) option(WITH_TESTS "Build with tests" On)
option(WITH_FLAKY_TESTS "Build with flaky tests" OFF) option(WITH_FLAKY_TESTS "Build with flaky tests" On)
option(FORCE_BOOST_STATIC "Build with static boost" On) option(FORCE_BOOST_STATIC "Build with static boost" On)
option(FORCE_LLVM_STATIC "Build with static llvm and clang" On) option(FORCE_LLVM_STATIC "Build with static llvm and clang" On)

View File

@ -14,7 +14,7 @@ First ensure your system has all the dependencies installed. We have tested on U
$ sudo apt-get update $ sudo apt-get update
$ 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 $ 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
$ sudo pip3 install toml $ sudo pip3 install toml
$ cmake -G Ninja -B build/ -DWITH_TESTS=On $ cmake -G Ninja -B build/
``` ```
### OpenSuse Tumbleweed ### OpenSuse Tumbleweed