• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Verify PR
2on: [pull_request]
3
4jobs:
5  run-bazel-tests:
6    name: "Run Bazel tests"
7    runs-on: ubuntu-latest
8    strategy:
9      matrix:
10        cpp-compiler: ["clang", "gcc"]
11    steps:
12      - uses: actions/checkout@v4
13      - uses: bazel-contrib/setup-bazel@0.8.5
14        with:
15          bazelisk-cache: true
16          disk-cache: "verify-pr:run-bazel-tests:${{ matrix.cpp-compiler }}"
17          repository-cache: true
18      - run: echo "CC=${{ matrix.cpp-compiler }}" >> $GITHUB_ENV
19      - run: bazel test ...
20