-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
123 lines (113 loc) · 2.02 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
variables:
LANG: en_US.UTF-8
stages:
- build
- test
- lint
- docs
- deploy
build-ios:
stage: build
script:
- bundle install
- cd Example/
- bundle exec pod install --repo-update
- cd ../
- bundle exec fastlane ios buildios
tags:
- xcode15
needs: []
build-tvos:
stage: build
script:
- bundle install
- cd Example/
- bundle exec pod install --repo-update
- cd ../
- bundle exec fastlane tvos buildtvos
tags:
- xcode15
needs: []
build-watchos:
stage: build
script:
- bundle install
- cd Example/
- bundle exec pod install --repo-update
- cd ../
- bundle exec fastlane watchos buildwatchos
tags:
- xcode15
needs: []
build-visionos:
stage: build
script:
- bundle install
- cd Example/
- bundle exec pod install --repo-update
- cd ../
- bundle exec fastlane visionos buildvisionos
tags:
- xcode15
needs: []
test:
stage: test
script:
- bundle install
- cd Example/
- bundle exec pod install --repo-update
- cd ../
- bundle exec fastlane ios unittestios
tags:
- xcode15
artifacts:
paths:
- fastlane/test-output/*
reports:
junit: fastlane/test-output/report.junit
needs: []
cocoapods-lint:
stage: lint
script:
- bundle install
- bundle exec pod repo update
- bundle exec pod lib lint --allow-warnings
tags:
- xcode15
allow_failure: true
needs: []
swiftlint:
image: norionomura/swiftlint:0.45.1_swift-5.5.2
stage: lint
before_script: []
script:
- swiftlint lint
allow_failure: true
tags:
- docker
needs: []
jazzy-docs:
stage: docs
script:
- bundle install
- bundle exec jazzy --podspec GeneralToolsFramework.podspec --output docs
tags:
- xcode15
allow_failure: true
artifacts:
paths:
- docs
needs: []
pages:
stage: deploy
script:
- mv docs/ public/
tags:
- xcode15
allow_failure: true
artifacts:
paths:
- public
needs:
- job: jazzy-docs
artifacts: true