Skip to content

Commit

Permalink
.github: Run bazel tests on BuildBuddy using RBE.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivucica committed Mar 26, 2024
1 parent 2e1ddb8 commit 649517c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,29 @@ jobs:
run: bazel build //:yatc
- name: bazel test
run: bazel test //:util_test

bazel-buildbuddy:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, which is the CWD for
# the rest of the steps
- uses: actions/checkout@v1

# Caches and restores the bazel build directory.
- name: Cache bazel build results
uses: actions/cache@v2.0.0
env:
cache-name: bazel-cache
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-master
- name: Checkout submodules
run: git submodule init && git submodule update
- name: rbe bazel build
run: bazel build --config=remote //:yatc
- name: rbe bazel test
run: bazel test --config=remote //:util_test

0 comments on commit 649517c

Please sign in to comment.