Improve CMake slightly (#620)

* Prefix build testing flag with SNMALLOC

* Only add clangformat target is testing enabled.
This commit is contained in:
Matthew Parkinson
2023-06-28 11:42:19 +01:00
committed by GitHub
parent 95bad423a7
commit dc1268886a
2 changed files with 9 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ jobs:
dependencies: "sudo apt install ninja-build"
build-type: Release
self-host: true
extra-cmake-flags: "-DSNMALLOC_BENCHMARK_INDIVIDUAL_MITIGATIONS=On -DBUILD_TESTING=Off"
extra-cmake-flags: "-DSNMALLOC_BENCHMARK_INDIVIDUAL_MITIGATIONS=On -DSNMALLOC_BUILD_TESTING=Off"
# Check that we can build specifically with libstdc++
- os: "ubuntu-latest"
variant: "libstdc++ (Build only)"