summaryrefslogtreecommitdiff
path: root/ci/macos_xcode_bazel.sh
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-07-05 09:37:54 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-07-05 09:39:15 -0700
commit4bbdb026899fea9f882a95cbd7d6a4adaf49b2dd (patch)
tree3594e5df55a078741618ddc837a6cde6f115cfff /ci/macos_xcode_bazel.sh
parentf4988f5bd4176345aad2a525e24d5fd11b3c97ea (diff)
Disable C++11 testing, enable C++14 and C++20 in some configurations
where it wasn't enabled PiperOrigin-RevId: 459092217 Change-Id: I4500bba8a09f4b320610a8170a26e93fdf7e0cab
Diffstat (limited to 'ci/macos_xcode_bazel.sh')
-rwxr-xr-xci/macos_xcode_bazel.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/macos_xcode_bazel.sh b/ci/macos_xcode_bazel.sh
index 8d69f1de..f6b9ec39 100755
--- a/ci/macos_xcode_bazel.sh
+++ b/ci/macos_xcode_bazel.sh
@@ -54,7 +54,8 @@ fi
${BAZEL_BIN} test ... \
--copt="-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1" \
- --copt=-Werror \
+ --copt="-Werror" \
+ --cxxopt="-std=c++14" \
--keep_going \
--show_timestamps \
--test_env="TZDIR=${ABSEIL_ROOT}/absl/time/internal/cctz/testdata/zoneinfo" \