Commit 7274ec18 authored by Derek Mauro's avatar Derek Mauro Committed by Copybara-Service
Browse files

Add --features=external_include_paths to Bazel CI to ignore warnings

from dependencies

PiperOrigin-RevId: 467244441
Change-Id: Iefa65474d8c62e7c4c942957dc8e275715076e5f
parent 4c9a3bb6
......@@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
MacOs:
runs-on: macos-latest
......@@ -28,7 +28,7 @@ jobs:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
Windows:
......@@ -40,4 +40,4 @@ jobs:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...
run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
......@@ -80,6 +80,7 @@ time docker run \
--copt="-Wuninitialized" \
--copt="-Wno-error=pragmas" \
--distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors
......@@ -100,6 +101,7 @@ for std in ${STD}; do
--copt="-Wuninitialized" \
--define="absl=${absl}" \
--distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors
......@@ -123,6 +125,7 @@ for std in ${STD}; do
--copt="-Wuninitialized" \
--define="absl=${absl}" \
--distdir="/bazel-distdir" \
--features=external_include_paths \
--keep_going \
--linkopt="--gcc-toolchain=/usr/local" \
--show_timestamps \
......
......@@ -68,6 +68,7 @@ for absl in 0 1; do
--copt="-Werror" \
--cxxopt="-std=c++14" \
--define="absl=${absl}" \
--features=external_include_paths \
--keep_going \
--show_timestamps \
--test_output=errors
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment