|
|
|
@ -17,7 +17,7 @@ jobs: |
|
|
|
|
fail-fast: false # Don't cancel all jobs if one fails. |
|
|
|
|
matrix: |
|
|
|
|
config: |
|
|
|
|
- { name: "Bazel 7", bazel_version: "7.0.0" } |
|
|
|
|
- { name: "Bazel 7", bazel_version: "7.1.1" } |
|
|
|
|
- { name: "Fastbuild" } |
|
|
|
|
- { name: "Optimized", flags: "-c opt" } |
|
|
|
|
- { name: "ASAN", flags: "--config=asan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/...", runner: ubuntu-20-large } |
|
|
|
@ -37,7 +37,7 @@ jobs: |
|
|
|
|
- name: Run tests |
|
|
|
|
uses: protocolbuffers/protobuf-ci/bazel-docker@v2 |
|
|
|
|
with: |
|
|
|
|
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:${{ matrix.config.bazel_version || '6.3.0' }}-d07b7d649401d147e71e7182d2832cc8344f1f35 |
|
|
|
|
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:${{ matrix.config.bazel_version || '6.3.0' }}-75f2a85ece6526cc3d54087018c0f1097d78d42b |
|
|
|
|
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} |
|
|
|
|
bazel-cache: upb-bazel |
|
|
|
|
bazel: test --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 //bazel/... //benchmarks/... //lua/... //protos/... //protos_generator/... //python/... //upb/... //upb_generator/... ${{ matrix.config.flags }} |
|
|
|
|