@@ -66,18 +66,75 @@ jobs:
6666 ]
6767 }
6868
69- # cocoapods-test:
70- # name: CocoaPods
71- # uses: SwiftyLab/ci/.github/workflows/cocoapods.yml@main
69+ cocoapods-test :
70+ name : CocoaPods
71+ uses : SwiftyLab/ci/.github/workflows/cocoapods.yml@main
72+ with :
73+ matrix : >
74+ {
75+ "include": [
76+ {
77+ "os": "macos-12",
78+ "xcode": "latest-stable",
79+ "platform": "macos"
80+ },
81+ {
82+ "os": "macos-12",
83+ "xcode": "latest-stable",
84+ "platform": "watchos"
85+ },
86+ {
87+ "os": "macos-12",
88+ "xcode": "latest-stable",
89+ "platform": "tvos"
90+ },
91+ {
92+ "os": "macos-12",
93+ "xcode": "latest-stable",
94+ "platform": "ios"
95+ }
96+ ]
97+ }
7298
7399 xcode-test :
74100 name : Xcode
75101 uses : SwiftyLab/ci/.github/workflows/xcode.yml@main
102+ with :
103+ matrix : >
104+ {
105+ "include": [
106+ {
107+ "os": "macos-12",
108+ "xcode": "latest-stable",
109+ "platform": "macOS"
110+ },
111+ {
112+ "os": "macos-12",
113+ "xcode": "latest-stable",
114+ "platform": "watchOS"
115+ },
116+ {
117+ "os": "macos-12",
118+ "xcode": "latest-stable",
119+ "platform": "tvOS"
120+ },
121+ {
122+ "os": "macos-12",
123+ "xcode": "latest-stable",
124+ "platform": "iOS"
125+ },
126+ {
127+ "os": "macos-12",
128+ "xcode": "latest-stable",
129+ "platform": "mac-catalyst"
130+ }
131+ ]
132+ }
76133
77134 ci :
78135 name : CI
79136 if : github.event_name == 'push'
80- needs : [swift-package-test, xcode-test]
137+ needs : [swift-package-test, xcode-test, cocoapods-test ]
81138 # needs: [analyze, swift-package-test, xcode-test, cocoapods-test]
82139 uses : SwiftyLab/ci/.github/workflows/ci.yml@main
83140
@@ -90,14 +147,14 @@ jobs:
90147 github.event.inputs.release == 'true' &&
91148 needs.swift-package-test.result == 'success' &&
92149 needs.xcode-test.result == 'success' &&
150+ needs.cocoapods-test.result == 'success' &&
93151 (needs.ci.result == 'success' || needs.ci.result == 'skipped'))
94- # needs.cocoapods-test.result == 'success' &&
95152 # (needs.analyze.result == 'success' || needs.analyze.result == 'skipped')
96- needs : [ci, swift-package-test, xcode-test]
153+ needs : [ci, swift-package-test, xcode-test, cocoapods-test ]
97154 # needs: [ci, analyze, swift-package-test, xcode-test, cocoapods-test]
98155 uses : SwiftyLab/ci/.github/workflows/cd.yml@main
99156 with :
157+ os : macos-12
100158 version : ${{ github.event.inputs.version }}
101- cocoapods : false
102159 secrets :
103160 COCOAPODS_TRUNK_TOKEN : ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
0 commit comments