summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2022-08-12 17:46:04 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-08-12 17:46:39 (GMT)
commit7274ec186442c96e4c7dcc99c684a03e5db2ff48 (patch)
tree25872a6b1b25a040cffaa9185403ccba86ce2826 /ci
parent4c9a3bb62bf3ba1f1010bf96f9c8ed767b363774 (diff)
downloadgoogletest-7274ec186442c96e4c7dcc99c684a03e5db2ff48.zip
googletest-7274ec186442c96e4c7dcc99c684a03e5db2ff48.tar.gz
googletest-7274ec186442c96e4c7dcc99c684a03e5db2ff48.tar.bz2
Add --features=external_include_paths to Bazel CI to ignore warnings
from dependencies PiperOrigin-RevId: 467244441 Change-Id: Iefa65474d8c62e7c4c942957dc8e275715076e5f
Diffstat (limited to 'ci')
-rw-r--r--ci/linux-presubmit.sh3
-rw-r--r--ci/macos-presubmit.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/ci/linux-presubmit.sh b/ci/linux-presubmit.sh
index f7e0f46..4eb5bbe 100644
--- a/ci/linux-presubmit.sh
+++ b/ci/linux-presubmit.sh
@@ -80,6 +80,7 @@ time docker run \
--copt="-Wuninitialized" \
--copt="-Wno-error=pragmas" \
--distdir="/bazel-distdir" \
+ --features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors
@@ -100,6 +101,7 @@ for std in ${STD}; do
--copt="-Wuninitialized" \
--define="absl=${absl}" \
--distdir="/bazel-distdir" \
+ --features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors
@@ -123,6 +125,7 @@ for std in ${STD}; do
--copt="-Wuninitialized" \
--define="absl=${absl}" \
--distdir="/bazel-distdir" \
+ --features=external_include_paths \
--keep_going \
--linkopt="--gcc-toolchain=/usr/local" \
--show_timestamps \
diff --git a/ci/macos-presubmit.sh b/ci/macos-presubmit.sh
index 3b711da..8f35df5 100644
--- a/ci/macos-presubmit.sh
+++ b/ci/macos-presubmit.sh
@@ -68,6 +68,7 @@ for absl in 0 1; do
--copt="-Werror" \
--cxxopt="-std=c++14" \
--define="absl=${absl}" \
+ --features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors