mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-09-19 11:09:05 +01:00
Build with tests by default
This commit is contained in:
parent
8f150c3d15
commit
daa3cb06ec
@ -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
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user