.jenkins.yml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. # Yaml Axis Plugin
  2. # https://wiki.jenkins-ci.org/display/JENKINS/Yaml+Axis+Plugin
  3. xcode_version:
  4. - 9.2
  5. - 9.3
  6. - 9.4
  7. - 10.0
  8. - 10.1
  9. target:
  10. - osx
  11. - docs
  12. - ios-static
  13. - ios-dynamic
  14. - ios-swift
  15. - osx-swift
  16. - watchos
  17. - cocoapods
  18. - swiftlint
  19. - tvos
  20. - osx-encryption
  21. - osx-object-server
  22. - ios-device-objc-ios8
  23. # - ios-device-swift-ios8
  24. - ios-device-objc-ios10
  25. # - ios-device-swift-ios10
  26. - tvos-device
  27. configuration:
  28. - Debug
  29. - Release
  30. # Combinations have to be excluded in a way that's hard to read.
  31. # This table shows which jobs will run:
  32. # +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. # | Configuration Matrix | osx | docs | ios-static | ios-dynamic | ios-swift | osx-swift | watchos | cocoapods | swiftlint | tvos | osx-encryption | osx-object-server | ios-device-objc-ios8 | ios-device-swift-ios8 | ios-device-objc-ios10 | ios-device-swift-ios10 | tvos-device |
  34. # | -------------------- | --- | ---- | ---------- | ----------- | --------- | --------- | ------- | --------- | --------- | ---- | -------------- | ----------------- | -------------------- | --------------------- | --------------------- | ---------------------- | ----------- |
  35. # | 9.2 | Debug | X | | X | | | | | | | | | | | | | | |
  36. # | 9.2 | Release | X | | X | X | X | X | X | X | | X | X | X | X | | X | | |
  37. # | -------------------- | --- | ---- | ---------- | ----------- | --------- | --------- | ------- | --------- | --------- | ---- | -------------- | ----------------- | -------------------- | --------------------- | --------------------- | ---------------------- | ----------- |
  38. # | 9.3 | Debug | X | | | | | | | | | | | | | | | | |
  39. # | 9.3 | Release | X | | X | X | X | X | X | X | | X | | | | | | | |
  40. # | -------------------- | --- | ---- | ---------- | ----------- | --------- | --------- | ------- | --------- | --------- | ---- | -------------- | ----------------- | -------------------- | --------------------- | --------------------- | ---------------------- | ----------- |
  41. # | 9.4 | Debug | X | | | | | | | | | | | | | | | | |
  42. # | 9.4 | Release | X | | X | X | X | X | X | X | | X | | | | | | | |
  43. # | -------------------- | --- | ---- | ---------- | ----------- | --------- | --------- | ------- | --------- | --------- | ---- | -------------- | ----------------- | -------------------- | --------------------- | --------------------- | ---------------------- | ----------- |
  44. # | 10.0 | Debug | X | | | | | | | | | | | | | | | | |
  45. # | 10.0 | Release | X | | X | X | X | X | X | X | | X | | | | | | | |
  46. # | -------------------- | --- | ---- | ---------- | ----------- | --------- | --------- | ------- | --------- | --------- | ---- | -------------- | ----------------- | -------------------- | --------------------- | --------------------- | ---------------------- | ----------- |
  47. # | 10.1 | Debug | X | | | X | X | X | X | | | X | | | | | | | |
  48. # | 10.1 | Release | X | X | X | X | X | X | X | X | X | X | X | X | | | X | | X |
  49. # +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  50. exclude:
  51. ################
  52. # docs
  53. ################
  54. # Just run on 10.0 Release
  55. - xcode_version: 9.2
  56. target: docs
  57. - xcode_version: 9.3
  58. target: docs
  59. - xcode_version: 9.4
  60. target: docs
  61. - xcode_version: 10.0
  62. target: docs
  63. - target: docs
  64. configuration: Debug
  65. ################
  66. # ios-static
  67. ################
  68. # Skip on 9.3/9.4/10.0 Debug
  69. - xcode_version: 9.3
  70. target: ios-static
  71. configuration: Debug
  72. - xcode_version: 9.4
  73. target: ios-static
  74. configuration: Debug
  75. - xcode_version: 10.0
  76. target: ios-static
  77. configuration: Debug
  78. - xcode_version: 10.1
  79. target: ios-static
  80. configuration: Debug
  81. ################
  82. # ios-dynamic
  83. ################
  84. # Skip on 9.2/9.3/0.2 Debug
  85. - xcode_version: 9.2
  86. target: ios-dynamic
  87. configuration: Debug
  88. - xcode_version: 9.3
  89. target: ios-dynamic
  90. configuration: Debug
  91. - xcode_version: 9.4
  92. target: ios-dynamic
  93. configuration: Debug
  94. - xcode_version: 10.0
  95. target: ios-dynamic
  96. configuration: Debug
  97. ################
  98. # ios-swift
  99. ################
  100. # Skip 9.2/9.3/9.4/10.0 Debug
  101. - xcode_version: 9.2
  102. target: ios-swift
  103. configuration: Debug
  104. - xcode_version: 9.3
  105. target: ios-swift
  106. configuration: Debug
  107. - xcode_version: 9.4
  108. target: ios-swift
  109. configuration: Debug
  110. - xcode_version: 10.0
  111. target: ios-swift
  112. configuration: Debug
  113. ################
  114. # osx-swift
  115. ################
  116. # Skip 9.2/9.3/9.4/10.0 Debug
  117. - xcode_version: 9.2
  118. target: osx-swift
  119. configuration: Debug
  120. - xcode_version: 9.3
  121. target: osx-swift
  122. configuration: Debug
  123. - xcode_version: 9.4
  124. target: osx-swift
  125. configuration: Debug
  126. - xcode_version: 10.0
  127. target: osx-swift
  128. configuration: Debug
  129. ################
  130. # watchos
  131. ################
  132. # Skip 9.2/9.3/9.4/10.0 Debug
  133. - xcode_version: 9.2
  134. target: watchos
  135. configuration: Debug
  136. - xcode_version: 9.3
  137. target: watchos
  138. configuration: Debug
  139. - xcode_version: 9.4
  140. target: watchos
  141. configuration: Debug
  142. - xcode_version: 10.0
  143. target: watchos
  144. configuration: Debug
  145. ################
  146. # cocoapods
  147. ################
  148. # Skip Debug
  149. - target: cocoapods
  150. configuration: Debug
  151. ################
  152. # swiftlint
  153. ################
  154. # Just run on 10.1 Release
  155. - xcode_version: 9.2
  156. target: swiftlint
  157. - xcode_version: 9.3
  158. target: swiftlint
  159. - xcode_version: 9.4
  160. target: swiftlint
  161. - xcode_version: 10.0
  162. target: swiftlint
  163. - target: swiftlint
  164. configuration: Debug
  165. ################
  166. # tvos
  167. ################
  168. # Skip 9.2/9.3/9.4/10.0 Debug
  169. - xcode_version: 9.2
  170. target: tvos
  171. configuration: Debug
  172. - xcode_version: 9.3
  173. target: tvos
  174. configuration: Debug
  175. - xcode_version: 9.4
  176. target: tvos
  177. configuration: Debug
  178. - xcode_version: 10.0
  179. target: tvos
  180. configuration: Debug
  181. ################
  182. # osx-encryption
  183. ################
  184. # Just run on 9.2/10.1 Release
  185. - xcode_version: 9.3
  186. target: osx-encryption
  187. - xcode_version: 9.4
  188. target: osx-encryption
  189. - xcode_version: 10.0
  190. target: osx-encryption
  191. - target: osx-encryption
  192. configuration: Debug
  193. ################
  194. # osx-object-server
  195. ################
  196. # Just run on 9.2/10.1 Release
  197. - xcode_version: 9.3
  198. target: osx-object-server
  199. - xcode_version: 9.4
  200. target: osx-object-server
  201. - xcode_version: 10.01
  202. target: osx-object-server
  203. - target: osx-object-server
  204. configuration: Debug
  205. ################
  206. # ios-device-objc-ios8
  207. ################
  208. # Just run on 9.2/10.1 Release
  209. - xcode_version: 9.3
  210. target: ios-device-objc-ios8
  211. - xcode_version: 10.0
  212. target: ios-device-objc-ios8
  213. - target: ios-device-objc-ios8
  214. configuration: Debug
  215. ################
  216. # ios-device-swift-ios8
  217. ################
  218. # Just run on 9.2/10.1 Release
  219. - xcode_version: 9.3
  220. target: ios-device-swift-ios8
  221. - xcode_version: 9.4
  222. target: ios-device-swift-ios8
  223. - xcode_version: 10.1
  224. target: ios-device-swift-ios8
  225. - target: ios-device-swift-ios8
  226. configuration: Debug
  227. ################
  228. # ios-device-objc-ios10
  229. ################
  230. # Just run on 9.2/10.1 Release
  231. - xcode_version: 9.3
  232. target: ios-device-objc-ios10
  233. - xcode_version: 9.4
  234. target: ios-device-objc-ios10
  235. - xcode_version: 10.0
  236. target: ios-device-objc-ios10
  237. - target: ios-device-objc-ios10
  238. configuration: Debug
  239. ################
  240. # ios-device-swift-ios10
  241. ################
  242. # Just run on 9.2/10.1 Release
  243. - xcode_version: 9.3
  244. target: ios-device-swift-ios10
  245. - xcode_version: 9.4
  246. target: ios-device-swift-ios10
  247. - xcode_version: 10.1
  248. target: ios-device-swift-ios10
  249. - target: ios-device-swift-ios10
  250. configuration: Debug
  251. ################
  252. # tvos-device
  253. ################
  254. # Just run on 10.1 Release
  255. - xcode_version: 9.2
  256. target: tvos-device
  257. - xcode_version: 9.3
  258. target: tvos-device
  259. - xcode_version: 9.4
  260. target: tvos-device
  261. - xcode_version: 10.0
  262. target: tvos-device
  263. - target: tvos-device
  264. configuration: Debug