blob: d828ae390c15e2f7dad46033c3cbd0e831a3df33 [file] [log] [blame]
Thomas Van Lenten35fcbfd2022-04-26 12:43:54 -04001name: 'ObjC CocoaPods'
2
3on:
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
21jobs:
22 pod-lib-lint:
23 runs-on: macos-latest
24 strategy:
25 fail-fast: false
26 matrix:
deannagarcia99333392022-11-29 10:33:53 -080027 # Add back 'watchos'. See CocoaPods/CocoaPods#11558
28 PLATFORM: ["ios", "macos", "tvos"]
Thomas Van Lenten35fcbfd2022-04-26 12:43:54 -040029 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