Skip to content

Commit

Permalink
Create presubmit.yaml which configures CI (#983)
Browse files Browse the repository at this point in the history
Bazel runs a community CI server that has a bunch of free resources for
testing projects that opt into Bazel. This configures that resource.
  • Loading branch information
achew22 authored Aug 5, 2019
1 parent d63917f commit 56b3d2a
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
platforms:
ubuntu1804:
build_flags:
- "--build_tag_filters=-nolinux"
build_targets:
- "..."
test_flags:
- "--features=race"
- "--test_tag_filters=-nolinux"
test_targets:
- "..."
ubuntu1604:
build_flags:
- "--build_tag_filters=-nolinux"
build_targets:
- "..."
test_flags:
- "--features=race"
- "--test_tag_filters=-nolinux"
test_targets:
- "..."
macos:
build_flags:
- "--build_tag_filters=-nomacos"
build_targets:
- "..."
test_flags:
- "--features=race"
- "--test_tag_filters=-nomacos"
test_targets:
- "..."
windows:
build_flags:
- "--build_tag_filters=-nowindows"
build_targets:
- "..."
test_flags:
- "--test_tag_filters=-nowindows"
- "--experimental_enable_runfiles"
test_targets:
- "..."

0 comments on commit 56b3d2a

Please sign in to comment.