Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented GitHub Actions Workflow for bazel build #51

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

leozz37
Copy link

@leozz37 leozz37 commented Oct 4, 2020

GitHub Actions

Implemented a CI to build bazil that runs on every push or pull request and a badge on README.md.

An example of it successfully running here.

@google-cla google-cla bot added the cla: yes label Oct 4, 2020
uses: actions/checkout@v2

- name: Setup bazel
uses: jwlawson/actions-setup-bazel@v1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this step necessary?

It looks like some of the virtual environments for Github Actions already install bazel (or have a helper ready to go): https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/bazel.sh

I'm also looking at https://github.com/googleapis/google-cloud-cpp/pull/4333/files for reference.

@AustinSchuh
Copy link

@fweikert, @philwo What about bazelci here?

@philwo
Copy link
Member

philwo commented Dec 2, 2020

@fweikert, @philwo What about bazelci here?

Thanks for mentioning :) Using Bazel CI would be straight-forward here, too, basically a matter of checking in this file as .bazelci/pipeline.yml:

---
tasks:
  ubuntu1804:
    build_targets:
    - "//..."
    test_targets:
    - "//..."

and pinging us here https://github.com/bazelbuild/continuous-integration/issues/new/choose so that we can create the pipeline on Bazel's CI.

Some docs about Bazel's CI: https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants