Skip to content

Merge branch 'main' into dependabot/pip/tools/numpy-2.4.4 #3587

Merge branch 'main' into dependabot/pip/tools/numpy-2.4.4

Merge branch 'main' into dependabot/pip/tools/numpy-2.4.4 #3587

Workflow file for this run

name: bazel
on:
push: {}
pull_request: {}
env:
CMAKE_GENERATOR: Ninja
permissions:
contents: read
jobs:
build_and_test_default:
name: bazel.${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: mount bazel cache
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
env:
cache-name: bazel-cache
with:
path: "~/.cache/bazel"
key: ${{ env.cache-name }}-${{ matrix.os }}-${{ github.ref }}
restore-keys: |
${{ env.cache-name }}-${{ matrix.os }}-main
- name: build
run: |
bazel build //:benchmark //:benchmark_main //test/...
- name: test
run: |
bazel test --test_output=all //test/...