Breaks the intended C++ version on some CI builds

PiperOrigin-RevId: 474022587
Change-Id: I41a58893802c90864e0f2cc3d15e6c169c59146d
This commit is contained in:
Derek Mauro
2022-09-13 08:14:45 -07:00
committed by Copybara-Service
parent 4fa8cfe3f4
commit 7cafeff7bd
4 changed files with 8 additions and 4 deletions

View File

@@ -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 ...