mirror of https://github.com/bazelbuild/rules_cc
Add presubmit
This commit is contained in:
parent
87a3dd9d0e
commit
a79b9c4c4b
|
@ -51,3 +51,13 @@ tasks:
|
||||||
- "--ignore_dev_dependency"
|
- "--ignore_dev_dependency"
|
||||||
build_targets:
|
build_targets:
|
||||||
- "//cc/..."
|
- "//cc/..."
|
||||||
|
ubuntu_rule_based_toolchains:
|
||||||
|
name: Linux rule-based toolchains
|
||||||
|
platform: ubuntu1804
|
||||||
|
working_directory: examples/rule_based_toolchain
|
||||||
|
build_flags:
|
||||||
|
- "--enable_bzlmod"
|
||||||
|
build_targets:
|
||||||
|
- "//..."
|
||||||
|
test_targets:
|
||||||
|
- "//..."
|
||||||
|
|
|
@ -17,6 +17,7 @@ cc_args(
|
||||||
"@rules_cc//cc/toolchains/actions:cpp_compile_actions",
|
"@rules_cc//cc/toolchains/actions:cpp_compile_actions",
|
||||||
],
|
],
|
||||||
args = [
|
args = [
|
||||||
|
"-Werror",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Wextra",
|
"-Wextra",
|
||||||
"-Wpedantic",
|
"-Wpedantic",
|
||||||
|
|
Loading…
Reference in New Issue