Skip to content

Commit

Permalink
.github/workflows: Set --build_metadata=ROLE=CI on Bazel CI builds.
Browse files Browse the repository at this point in the history
Setting it explicitly might not be required, but the documentation for BuildBuddy suggests it's a good idea.
  • Loading branch information
ivucica authored May 13, 2024
1 parent d75ddf3 commit 38591b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
# More useful with e.g. npm.

- name: rbe bazel build
run: bazel build --config=remote //:yatc
run: bazel build --config=remote --build_metadata=ROLE=CI //:yatc

bazel_test_buildbuddy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
# More useful with e.g. npm.

- name: rbe bazel test
run: bazel test --config=remote //:util_test
run: bazel test --config=remote --build_metadata=ROLE=CI //:util_test
# Temporarily allow errors. This is known to fail at this time due to insufficient
# number of binary packages installed by the rules_libsdl12.
continue-on-error: true
Expand Down

0 comments on commit 38591b0

Please sign in to comment.