Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2022-09-13 18:14:45 +0300
committerCopybara-Service <copybara-worker@google.com>2022-09-13 18:15:24 +0300
commit7cafeff7bddf0430ae1e68ebb6213bb7c5d4a8ec (patch)
treecd9e82ce7f59fb1de0521cd8e3ddb42576b067c0 /ci
parent4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7 (diff)
Rollback 4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7
Breaks the intended C++ version on some CI builds PiperOrigin-RevId: 474022587 Change-Id: I41a58893802c90864e0f2cc3d15e6c169c59146d
Diffstat (limited to 'ci')
-rw-r--r--ci/linux-presubmit.sh1
-rw-r--r--ci/macos-presubmit.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/ci/linux-presubmit.sh b/ci/linux-presubmit.sh
index f6eb9b7d..4eb5bbe4 100644
--- a/ci/linux-presubmit.sh
+++ b/ci/linux-presubmit.sh
@@ -72,6 +72,7 @@ time docker run \
--workdir="/src" \
--rm \
--env="CC=/usr/local/bin/gcc" \
+ --env="BAZEL_CXXOPTS=-std=c++14" \
${LINUX_GCC_FLOOR_CONTAINER} \
/usr/local/bin/bazel test ... \
--copt="-Wall" \
diff --git a/ci/macos-presubmit.sh b/ci/macos-presubmit.sh
index a5d6635a..8f35df58 100644
--- a/ci/macos-presubmit.sh
+++ b/ci/macos-presubmit.sh
@@ -66,6 +66,7 @@ for absl in 0 1; do
${BAZEL_BIN} test ... \
--copt="-Wall" \
--copt="-Werror" \
+ --cxxopt="-std=c++14" \
--define="absl=${absl}" \
--features=external_include_paths \
--keep_going \