Skip to content

Commit

Permalink
ci: ignore tests in single feature build (#12464)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc authored Aug 25, 2023
1 parent 3be050d commit 9b5b6a7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/cloudbuild/builds/cmake-single-feature.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9b5b6a7

Please sign in to comment.