name: Bazel build on: [push, pull_request] jobs: build_and_test: name: Linux Ubuntu Bazel build runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-22.04, ubuntu-22.04-arm] compilation_mode: [fastbuild, dbg, opt] steps: - uses: actions/checkout@v4 - name: Mount bazel cache uses: actions/cache@v4 with: path: "/home/runner/.cache/bazel" # Use the OS name in the cache key to separate caches per platform. key: bazel-${{ matrix.os }}-gcc11 - name: Build Catch2 run: | bazelisk build --compilation_mode=${{ matrix.compilation_mode }} //...