Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 27 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,32 +211,31 @@ jobs:
shell: bash
run: bazel build --config=buildbuddy-remote-exec-ci --remote_header=x-buildbuddy-api-key=${BUILDBUDDY_API_KEY?} //examples/basic_app/java/com/example/hermetic:app

# TODO: Re-enable once https://github.com/bazelbuild/rules_android_ndk/issues/148 is fixed
# bazel_rolling:
# name: Bazel rolling (${{ matrix.os }})
# runs-on: ${{ matrix.os }}
# env:
# USE_BAZEL_VERSION: rolling
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-latest
# - macos-latest
# - windows-latest

# steps:
# - uses: actions/checkout@v7

# - uses: bazel-contrib/setup-bazel@0.19.0
# with:
# bazelisk-cache: true
# disk-cache: true
# repository-cache: true

# - name: Test
# shell: bash
# run: bazel test --config=buildbuddy-ci ${BUILDBUDDY_API_KEY:+--remote_header=x-buildbuddy-api-key=$BUILDBUDDY_API_KEY} //...
bazel_rolling:
name: Bazel rolling (${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
USE_BAZEL_VERSION: rolling
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

steps:
- uses: actions/checkout@v7

- uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-cache: true
disk-cache: true
repository-cache: true

- name: Test
shell: bash
run: bazel test --config=buildbuddy-ci ${BUILDBUDDY_API_KEY:+--remote_header=x-buildbuddy-api-key=$BUILDBUDDY_API_KEY} //...

ci:
name: CI
Expand All @@ -250,7 +249,7 @@ jobs:
- emulator_instrumentation
- bazel_latest
- bazel_cross_compilation
# - bazel_rolling
- bazel_rolling
if: ${{ always() }}

steps:
Expand All @@ -265,7 +264,7 @@ jobs:
EMULATOR_INSTRUMENTATION_RESULT: ${{ needs.emulator_instrumentation.result }}
BAZEL_LATEST_RESULT: ${{ needs.bazel_latest.result }}
BAZEL_LATEST_REMOTE_EXEC_RESULT: ${{ needs.bazel_cross_compilation.result }}
BAZEL_ROLLING_RESULT: success
BAZEL_ROLLING_RESULT: ${{ needs.bazel_rolling.result }}
run: |
echo "pre-commit: ${PRE_COMMIT_RESULT}"
echo "Bazel 8.4.2: ${BAZEL_LOWEST_SUPPORTED_RESULT}"
Expand Down
Loading