3030 config :
3131 - { name: "Fastbuild" }
3232 - { name: "Optimized", flags: "-c opt", continuous-only: true }
33+ - { name: "GCC Optimized", flags: "-c opt --force_pic --java_runtime_version=remotejdk_11 --copt=\"-Wno-error=maybe-uninitialized\"", image: "us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:8.0.1-12.2-12e21b8dda91028bc14212a3ab582c7c4d149fac" }
34+ - { name: "GCC Static", flags: "-c opt --dynamic_mode=off --java_runtime_version=remotejdk_11 --copt=\"-Wno-error=maybe-uninitialized\"", image: "us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:8.0.1-12.2-12e21b8dda91028bc14212a3ab582c7c4d149fac", continuous-only: true }
3335 - { name: "ASAN", flags: "--config=asan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/...", runner: ubuntu-22-4core }
3436 - { name: "UBSAN", flags: "--config=ubsan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/... -//lua/...", continuous-only: true }
3537 - { name: "32-bit", flags: "--copt=-m32 --linkopt=-m32", exclude-targets: "-//benchmarks:benchmark -//python/..." }
@@ -49,33 +51,12 @@ jobs:
4951 if : ${{ !matrix.config.continuous-only || inputs.continuous-run }}
5052 uses : protocolbuffers/protobuf-ci/bazel-docker@v5
5153 with :
52- image : us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:${{ matrix.config.bazel_version || ' 8.0.1' }}-12e21b8dda91028bc14212a3ab582c7c4d149fac
54+ image : ${{ matrix.config.image || ' us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:8.0.1-12e21b8dda91028bc14212a3ab582c7c4d149fac ' }}
5355 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
5456 bazel-cache : upb-bazel
5557 bazel : test //bazel/... //benchmarks/... //lua/... //python/... //upb/... //upb_generator/... ${{ matrix.config.flags }}
5658 exclude-targets : ${{ matrix.config.exclude-targets }}
5759
58- linux-gcc :
59- strategy :
60- fail-fast : false # Don't cancel all jobs if one fails.
61- name : GCC Optimized
62- runs-on : ubuntu-latest
63- steps :
64- - name : Checkout pending changes
65- uses : protocolbuffers/protobuf-ci/checkout@v5
66- with :
67- ref : ${{ inputs.safe-checkout }}
68- - name : Run tests
69- uses : protocolbuffers/protobuf-ci/bazel-docker@v5
70- with :
71- image : " us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:8.0.1-12.2-12e21b8dda91028bc14212a3ab582c7c4d149fac"
72- credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
73- bazel-cache : " upb-bazel-gcc"
74- bazel : >-
75- test -c opt
76- --copt="-Wno-error=maybe-uninitialized" --java_runtime_version=remotejdk_11
77- //bazel/... //benchmarks/... //lua/... //python/... //upb/... //upb_generator/...
78-
7960 windows :
8061 strategy :
8162 fail-fast : false # Don't cancel all jobs if one fails.
0 commit comments