aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2022-09-13 08:14:45 -0700
committerCopybara-Service <copybara-worker@google.com>2022-09-13 08:15:24 -0700
commit7cafeff7bddf0430ae1e68ebb6213bb7c5d4a8ec (patch)
treecd9e82ce7f59fb1de0521cd8e3ddb42576b067c0 /.github
parent4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7 (diff)
downloadgoogletest-7cafeff7bddf0430ae1e68ebb6213bb7c5d4a8ec.zip
googletest-7cafeff7bddf0430ae1e68ebb6213bb7c5d4a8ec.tar.gz
googletest-7cafeff7bddf0430ae1e68ebb6213bb7c5d4a8ec.tar.bz2
Rollback 4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7
Breaks the intended C++ version on some CI builds PiperOrigin-RevId: 474022587 Change-Id: I41a58893802c90864e0f2cc3d15e6c169c59146d
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/gtest-ci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/gtest-ci.yml b/.github/workflows/gtest-ci.yml
index e61880f..b2dcab4 100644
--- a/.github/workflows/gtest-ci.yml
+++ b/.github/workflows/gtest-ci.yml
@@ -4,6 +4,9 @@ on:
push:
pull_request:
+env:
+ BAZEL_CXXOPTS: -std=c++14
+
jobs:
Linux:
runs-on: ubuntu-latest
@@ -14,7 +17,7 @@ jobs:
fetch-depth: 0
- name: Tests
- run: bazel test --features=external_include_paths --test_output=errors ...
+ run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
MacOs:
runs-on: macos-latest
@@ -25,7 +28,7 @@ jobs:
fetch-depth: 0
- name: Tests
- run: bazel test --features=external_include_paths --test_output=errors ...
+ run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
Windows:
@@ -37,4 +40,4 @@ jobs:
fetch-depth: 0
- name: Tests
- run: bazel test --features=external_include_paths --test_output=errors ...
+ run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...