From bd6a364b49db2214275d0d54cc66fd13d682721d Mon Sep 17 00:00:00 2001 From: dbolduc Date: Thu, 24 Aug 2023 19:59:50 -0400 Subject: [PATCH] ci: ignore tests in single feature build --- ci/cloudbuild/builds/cmake-single-feature.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ci/cloudbuild/builds/cmake-single-feature.sh b/ci/cloudbuild/builds/cmake-single-feature.sh index b06d8c3a56141..68ac4a6814723 100755 --- a/ci/cloudbuild/builds/cmake-single-feature.sh +++ b/ci/cloudbuild/builds/cmake-single-feature.sh @@ -54,17 +54,20 @@ check_pkgconfig_absolute() { for feature in __ga_libraries__ __experimental_libraries__; do io::run cmake -S . -B cmake-out/test-only-"${feature}" \ - -DGOOGLE_CLOUD_CPP_ENABLE="${feature}" + -DGOOGLE_CLOUD_CPP_ENABLE="${feature}" \ + -DBUILD_TESTING=OFF done for feature in "${features[@]}"; do io::run cmake -S . -B cmake-out/test-only-"${feature}" \ - -DGOOGLE_CLOUD_CPP_ENABLE="${feature}" + -DGOOGLE_CLOUD_CPP_ENABLE="${feature}" \ + -DBUILD_TESTING=OFF io::run check_pkgconfig_relative cmake-out/test-only-"${feature}" io::run cmake -S . -B cmake-out/test-only-"${feature}"-absolute-cmake-install \ -DGOOGLE_CLOUD_CPP_ENABLE="${feature}" \ -DCMAKE_INSTALL_INCLUDEDIR=/test-only/include \ - -DCMAKE_INSTALL_LIBDIR=/test-only/lib + -DCMAKE_INSTALL_LIBDIR=/test-only/lib \ + -DBUILD_TESTING=OFF io::run check_pkgconfig_absolute cmake-out/test-only-"${feature}"-absolute-cmake-install done