From 531e4bda35e7c5c8646153ad75986e5ce3ccc7a4 Mon Sep 17 00:00:00 2001 From: a4z Date: Tue, 4 Jun 2024 11:49:47 +0200 Subject: [PATCH] Make testing optional --- .github/workflows/build-all.yml | 2 +- CMakeLists.txt | 2 +- vcpkg.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 2c3857a..66f899e 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -35,7 +35,7 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install -y cmake ninja-build + sudo apt-get install -y cmake ninja-build libtool autoconf automake lcov - name: Install dependencies on Mac if: matrix.os == 'macos-latest' diff --git a/CMakeLists.txt b/CMakeLists.txt index 89c0a65..be628cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ project(zq VERSION 0.1.0 if(PROJECT_IS_TOP_LEVEL) # make git ignore the build directory file(WRITE ${CMAKE_BINARY_DIR}/.gitignore "*") - set(ZQ_TEST_PROJECT ON) # give option to test even if we are not the top project + option(ZQ_TEST_PROJECT "Enable testing" ON) # give option to test even if we are not the top project set(CMAKE_EXPORT_COMPILE_COMMANDS ON) add_custom_target( clangformat diff --git a/vcpkg.json b/vcpkg.json index 492a33a..e0b3215 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -6,7 +6,7 @@ "protobuf", { "name": "zeromq", - "features": [ "sodium", "websockets" ] + "features": [ "websockets" ] } ] }