diff --git a/.github/workflows/test_objectivec.yml b/.github/workflows/test_objectivec.yml index 8e96a02308..598c2c5d4f 100644 --- a/.github/workflows/test_objectivec.yml +++ b/.github/workflows/test_objectivec.yml @@ -68,17 +68,25 @@ jobs: strategy: fail-fast: false # Don't cancel all jobs if one fails. matrix: - PLATFORM: ["ios", "macos", "tvos", "watchos"] + PLATFORM: ["ios", "macos", "tvos", "watchos", "visionos"] CONFIGURATION: ["Debug", "Release"] - name: CocoaPods ${{ matrix.PLATFORM}} ${{ matrix.CONFIGURATION}} - runs-on: macos-12 + include: + - OS: macos-12 + - XCODE: Xcode_14.1 + - PLATFORM: "visionos" + OS: macos-14 + XCODE: Xcode_15.2 + name: CocoaPods ${{ matrix.PLATFORM }} ${{ matrix.CONFIGURATION }} + runs-on: ${{ matrix.OS }} env: - DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer + DEVELOPER_DIR: /Applications/${{ matrix.XCODE }}.app/Contents/Developer steps: - name: Checkout pending changes uses: protocolbuffers/protobuf-ci/checkout@v2 with: ref: ${{ inputs.safe-checkout }} + - name: Xcode version + run: sudo xcode-select -switch /Applications/${{ matrix.XCODE }}.app - name: Pod lib lint uses: protocolbuffers/protobuf-ci/bash@v2 with: