Thomas Van Lenten | 35fcbfd | 2022-04-26 12:43:54 -0400 | [diff] [blame] | 1 | name: 'ObjC CocoaPods' |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | paths: |
| 6 | - '.github/workflows/objc_cocoapods.yml' |
| 7 | - 'Protobuf.podspec' |
| 8 | - 'objectivec/**' |
| 9 | - '!objectivec/DevTools/**' |
| 10 | - '!objectivec/ProtocolBuffers_*.xcodeproj/**' |
| 11 | - '!objectivec/Tests/**' |
| 12 | pull_request: |
| 13 | paths: |
| 14 | - '.github/workflows/objc_cocoapods.yml' |
| 15 | - 'Protobuf.podspec' |
| 16 | - 'objectivec/**' |
| 17 | - '!objectivec/DevTools/**' |
| 18 | - '!objectivec/ProtocolBuffers_*.xcodeproj/**' |
| 19 | - '!objectivec/Tests/**' |
| 20 | |
| 21 | jobs: |
| 22 | pod-lib-lint: |
| 23 | runs-on: macos-latest |
| 24 | strategy: |
| 25 | fail-fast: false |
| 26 | matrix: |
deannagarcia | 9933339 | 2022-11-29 10:33:53 -0800 | [diff] [blame] | 27 | # Add back 'watchos'. See CocoaPods/CocoaPods#11558 |
| 28 | PLATFORM: ["ios", "macos", "tvos"] |
Thomas Van Lenten | 35fcbfd | 2022-04-26 12:43:54 -0400 | [diff] [blame] | 29 | CONFIGURATION: ["Debug", "Release"] |
| 30 | steps: |
| 31 | - uses: actions/checkout@v2 |
| 32 | - name: Pod lib lint |
| 33 | run: | |
| 34 | pod lib lint --verbose \ |
| 35 | --configuration=${{ matrix.CONFIGURATION }} \ |
| 36 | --platforms=${{ matrix.PLATFORM }} \ |
| 37 | Protobuf.podspec |