From 4bbdb026899fea9f882a95cbd7d6a4adaf49b2dd Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Tue, 5 Jul 2022 09:37:54 -0700 Subject: Disable C++11 testing, enable C++14 and C++20 in some configurations where it wasn't enabled PiperOrigin-RevId: 459092217 Change-Id: I4500bba8a09f4b320610a8170a26e93fdf7e0cab --- ci/macos_xcode_bazel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ci/macos_xcode_bazel.sh') 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" \ -- cgit v1.2.3