Merge pull request #3984 from keith:ks/bazel-move-std-c-14-to-.bazelrc
PiperOrigin-RevId: 473908876 Change-Id: Ie850a4029c33fa9eec5f670a18f70b2cf6635d6f
This commit is contained in:
		
							
								
								
									
										9
									
								
								.github/workflows/gtest-ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/gtest-ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -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 ...
 | 
			
		||||
 
 | 
			
		||||
@@ -72,7 +72,6 @@ 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" \
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,6 @@ 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 \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user