diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2022-08-19 11:10:56 -0700 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2022-08-19 11:11:26 -0700 |
commit | 91c3669f21cf569f13bd15569b5411e6ca9a8961 (patch) | |
tree | c8aab291348ab5753fbc7ffb701d0ff419fd6623 /.github | |
parent | c0e032efe587efa99413dd9ac54c3953a7915588 (diff) | |
download | googletest-91c3669f21cf569f13bd15569b5411e6ca9a8961.zip googletest-91c3669f21cf569f13bd15569b5411e6ca9a8961.tar.gz googletest-91c3669f21cf569f13bd15569b5411e6ca9a8961.tar.bz2 |
bazel: move -std=c++14 to .bazelrc
Bazel defaults to -std=c++11 on macOS which gtest doesn't support.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/gtest-ci.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/gtest-ci.yml b/.github/workflows/gtest-ci.yml index b2dcab4..e61880f 100644 --- a/.github/workflows/gtest-ci.yml +++ b/.github/workflows/gtest-ci.yml @@ -4,9 +4,6 @@ on: push: pull_request: -env: - BAZEL_CXXOPTS: -std=c++14 - jobs: Linux: runs-on: ubuntu-latest @@ -17,7 +14,7 @@ jobs: fetch-depth: 0 - name: Tests - run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... + run: bazel test --features=external_include_paths --test_output=errors ... MacOs: runs-on: macos-latest @@ -28,7 +25,7 @@ jobs: fetch-depth: 0 - name: Tests - run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... + run: bazel test --features=external_include_paths --test_output=errors ... Windows: @@ -40,4 +37,4 @@ jobs: fetch-depth: 0 - name: Tests - run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... + run: bazel test --features=external_include_paths --test_output=errors ... |