ci(oc): run xcode-select on visionOS platform only

pull/15903/head
YoloMao 9 months ago
parent 623ac3359f
commit 62474c592c
  1. 6
      .github/workflows/test_objectivec.yml

@ -72,9 +72,8 @@ jobs:
CONFIGURATION: ["Debug", "Release"] CONFIGURATION: ["Debug", "Release"]
include: include:
- OS: macos-12 - OS: macos-12
- XCODE: Xcode_14.1 - OS: macos-14
- PLATFORM: "visionos" PLATFORM: "visionos"
OS: macos-14
XCODE: Xcode_15.2 XCODE: Xcode_15.2
name: CocoaPods ${{ matrix.PLATFORM }} ${{ matrix.CONFIGURATION }} name: CocoaPods ${{ matrix.PLATFORM }} ${{ matrix.CONFIGURATION }}
runs-on: ${{ matrix.OS }} runs-on: ${{ matrix.OS }}
@ -84,6 +83,7 @@ jobs:
with: with:
ref: ${{ inputs.safe-checkout }} ref: ${{ inputs.safe-checkout }}
- name: Xcode version - name: Xcode version
if: matrix.OS == 'macos-14'
run: sudo xcode-select -switch /Applications/${{ matrix.XCODE }}.app run: sudo xcode-select -switch /Applications/${{ matrix.XCODE }}.app
- name: Pod lib lint - name: Pod lib lint
uses: protocolbuffers/protobuf-ci/bash@v2 uses: protocolbuffers/protobuf-ci/bash@v2

Loading…
Cancel
Save