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

Add a GitHub workflow to build & test #1

Merged
merged 2 commits into from
May 26, 2021
Merged

Conversation

benjaminhollissc
Copy link
Contributor

@benjaminhollissc benjaminhollissc commented May 26, 2021

This adds a simple GitHub Actions workflow that will build & test the project on pushes to master and on all PRs. I'm not convinced the cache of ~/.cache/bazel works.

@finalpatch
Copy link
Contributor

Lgtm

@benjaminhollissc benjaminhollissc merged commit 6cf3241 into master May 26, 2021
@benjaminhollissc benjaminhollissc deleted the github-workflow branch May 26, 2021 22:13
path: ~/.cache/bazel
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-master
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't appear to work since the build times for my PR are >5min. Have you looked at the example actions config using bazelisk https://github.com/marketplace/actions/setup-bazelisk?

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

Successfully merging this pull request may close these issues.

3 participants