forked from libnyanpasu/clash-nyanpasu
-
Notifications
You must be signed in to change notification settings - Fork 0
198 lines (179 loc) · 4.81 KB
/
target-dev-build.yaml
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
name: "[Entire] Build Developer Version"
on:
workflow_dispatch:
schedule:
- cron: "15 0 * * *" # 每天 08:15 UTC+8 自动构建
env:
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: short
jobs:
delete_current_releases:
name: Delete Current Releases
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.repository, 'LibNyanpasu') }}
uses: ./.github/workflows/deps-delete-releases.yaml
with:
tag: "pre-release"
windows_amd64_build:
name: Windows x86_64 Build
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
fixed-webview: false
arch: "x86_64"
tag: "pre-release"
secrets: inherit
windows_aarch64_build:
name: Windows aarch64 Build
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
fixed-webview: false
arch: "aarch64"
tag: "pre-release"
secrets: inherit
windows_i686_build:
name: Windows i686 Build
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
fixed-webview: false
arch: "i686"
tag: "pre-release"
secrets: inherit
windows_amd64_build_fixed_webview:
name: Windows x86_64 Build with Fixed WebView
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
arch: "x86_64"
fixed-webview: true
tag: "pre-release"
secrets: inherit
windows_aarch64_build_fixed_webview:
name: Windows aarch64 Build with Fixed WebView
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
arch: "aarch64"
fixed-webview: true
tag: "pre-release"
secrets: inherit
windows_i686_build_fixed_webview:
name: Windows i686 Build with Fixed WebView
uses: ./.github/workflows/deps-build-windows-nsis.yaml
needs: [delete_current_releases]
with:
portable: true
nightly: true
arch: "i686"
fixed-webview: true
tag: "pre-release"
secrets: inherit
linux_amd64_build:
name: Linux amd64 Build
uses: ./.github/workflows/deps-build-linux.yaml
needs: [delete_current_releases]
with:
nightly: true
tag: "pre-release"
arch: "x86_64"
secrets: inherit
linux_i686_build:
name: Linux i686 Build
uses: ./.github/workflows/deps-build-linux.yaml
needs: [delete_current_releases]
with:
nightly: true
tag: "pre-release"
arch: "i686"
secrets: inherit
linux_aarch64_build:
name: Linux aarch64 Build
uses: ./.github/workflows/deps-build-linux.yaml
needs: [delete_current_releases]
with:
nightly: true
tag: "pre-release"
arch: "aarch64"
secrets: inherit
linux_armhf_build:
name: Linux armhf Build
uses: ./.github/workflows/deps-build-linux.yaml
needs: [delete_current_releases]
with:
nightly: true
tag: "pre-release"
arch: "armhf"
secrets: inherit
linux_armel_build:
name: Linux armel Build
uses: ./.github/workflows/deps-build-linux.yaml
needs: [delete_current_releases]
with:
nightly: true
tag: "pre-release"
arch: "armel"
secrets: inherit
macos_amd64_build:
name: macOS amd64 Build
uses: ./.github/workflows/deps-build-macos.yaml
needs: [delete_current_releases]
with:
nightly: true
aarch64: false
tag: "pre-release"
secrets: inherit
macos_aarch64_build:
name: macOS aarch64 Build
uses: ./.github/workflows/deps-build-macos.yaml
needs: [delete_current_releases]
with:
nightly: true
aarch64: true
tag: "pre-release"
secrets: inherit
update_tag:
name: Update tag
needs:
[
windows_amd64_build,
windows_i686_build,
windows_aarch64_build,
windows_amd64_build_fixed_webview,
windows_i686_build_fixed_webview,
windows_aarch64_build_fixed_webview,
linux_amd64_build,
linux_i686_build,
linux_aarch64_build,
linux_armhf_build,
linux_armel_build,
macos_amd64_build,
macos_aarch64_build,
]
uses: ./.github/workflows/deps-update-tag.yaml
with:
tag: "pre-release"
updater:
name: Create Updater
needs: [update_tag]
uses: ./.github/workflows/deps-create-updater.yaml
with:
nightly: true
telegram:
name: Send Release Message to Telegram
if: startsWith(github.repository, 'LibNyanpasu')
needs: [update_tag]
uses: ./.github/workflows/deps-message-telegram.yaml
with:
nightly: true
secrets: inherit