[ObjC] CI dbg & opt macOS bazel builds.

PiperOrigin-RevId: 509260795
pull/11943/head
Protobuf Team Bot 2 years ago committed by Mike Kruskal
parent a3970ef1f2
commit de8bb714e2
  1. 16
      .github/workflows/test_objectivec.yml

@ -91,11 +91,15 @@ jobs:
strategy: strategy:
fail-fast: false # Don't cancel all jobs if one fails. fail-fast: false # Don't cancel all jobs if one fails.
matrix: matrix:
config:
- { name: Optimized, flags: --config=opt }
- { name: Debug, flags: --config=dbg }
# TODO: Could add iOS to atleast build the objc_library targets for that.
platform: ["macOS"]
include: include:
# TODO: Could add iOS to atleast build the objc_library targets for that. - platform: "macOS"
- name: macOS bazel_targets: //objectivec/...
bazel: //objectivec/... name: Bazel ${{ matrix.platform }} ${{ matrix.config.name }}
name: Bazel ${{ matrix.name }}
runs-on: macos-12 runs-on: macos-12
steps: steps:
- name: Checkout pending changes - name: Checkout pending changes
@ -106,5 +110,5 @@ jobs:
uses: ./.github/actions/bazel uses: ./.github/actions/bazel
with: with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: test ${{ matrix.bazel }} bazel: test ${{ matrix.config.flags }} ${{ matrix.bazel_targets }}
bazel-cache: objc_${{ matrix.name }} bazel-cache: objc_${{ matrix.platform }}_${{ matrix.config.name }}

Loading…
Cancel
Save