Skip to content

MacOS Bazel Test

MacOS Bazel Test #1

name: MacOS Bazel Test
on:
workflow_call:
workflow_dispatch:
jobs:
test:
name: Run Bazel Tests
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Bazel and Bazelisk
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Run Tests
shell: bash
# TODO(b/506179116): <filesystem> is not supported on all target versions in xcode, so not
# running policy conformance.
run: |
bazelisk test --copt=-Wno-deprecated-declarations --copt=-Wno-nullability-completeness conformance:all