Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Hu Wei
Glog
Commits
d4e8ebab
Commit
d4e8ebab
authored
4 years ago
by
Rodrigo Queiro
Committed by
Rodrigo Queiro
4 years ago
Browse files
Options
Download
Patches
Plain Diff
Add layering_check to Bazel CI.
This will avoid regressions on #596.
parent
0863ad79
master
v0.5.0
v0.5.0-rc2
v0.5.0-rc1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.bazelci/presubmit.yml
+16
-0
.bazelci/presubmit.yml
bazel/example/BUILD.bazel
+1
-0
bazel/example/BUILD.bazel
with
17 additions
and
0 deletions
+17
-0
.bazelci/presubmit.yml
+
16
−
0
View file @
d4e8ebab
---
platforms
:
ubuntu1604
:
build_flags
:
-
"
--features=layering_check"
build_targets
:
-
"
..."
test_flags
:
-
"
--features=layering_check"
test_targets
:
-
"
..."
ubuntu1804
:
build_flags
:
-
"
--features=layering_check"
build_targets
:
-
"
..."
test_flags
:
-
"
--features=layering_check"
test_targets
:
-
"
..."
macos
:
build_flags
:
-
"
--features=layering_check"
build_targets
:
-
"
..."
test_flags
:
-
"
--features=layering_check"
test_targets
:
-
"
..."
windows
:
# Optional: use VS 2017 instead of 2015.
environment
:
BAZEL_VC
:
"
C:
\\
Program
Files
(x86)
\\
Microsoft
Visual
Studio
\\
2017
\\
BuildTools
\\
VC"
build_flags
:
-
"
--features=layering_check"
build_targets
:
-
"
..."
test_flags
:
-
"
--features=layering_check"
test_targets
:
-
"
..."
This diff is collapsed.
Click to expand it.
bazel/example/BUILD.bazel
+
1
−
0
View file @
d4e8ebab
...
...
@@ -4,5 +4,6 @@ cc_test(
srcs
=
[
"main.cc"
],
deps
=
[
"//:glog"
,
"@com_github_gflags_gflags//:gflags"
,
],
)
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets