forked from futo-org/Grayjay.Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
86 lines (80 loc) · 2.72 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
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_STRATEGY: clone
stages:
- buildAndDeployUnstableWindows
- buildAndDeployUnstableLinux
- buildAndDeployStableWindows
- buildAndDeployStableLinux
buildAndDeployUnstableWindows:
stage: buildAndDeployUnstableWindows
tags:
- WindowsBuilder
only:
- tags
except:
- ^(dev)
script:
- dir
- Write-Host $CI_COMMIT_TAG
- bash deploy_windows.sh $CI_COMMIT_TAG $UPDATER_SERVER Grayjay.Desktop.Unstable
artifacts:
paths:
- Grayjay.Desktop.CEF/bin/Release/net8.0/win-x64/Grayjay.Desktop-win-x64-v$CI_COMMIT_TAG.zip
expire_in: 1d
when: manual
buildAndDeployUnstableLinux:
stage: buildAndDeployUnstableLinux
tags:
- LinuxBuilder
only:
- tags
except:
- ^(dev)
script:
- echo "$(pwd)"
- bash deploy_linux.sh $CI_COMMIT_TAG $UPDATER_SERVER Grayjay.Desktop.Unstable
artifacts:
paths:
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/linux-x64/Grayjay.Desktop-linux-x64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/win-x64/Grayjay.Desktop-win-x64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/osx-arm64/Grayjay.Desktop-osx-arm64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/osx-arm64/Grayjay.Desktop-osx-x64-v$CI_COMMIT_TAG.zip
expire_in: 1d
when: manual
buildAndDeployStableWindows:
stage: buildAndDeployStableWindows
tags:
- WindowsBuilder
only:
- tags
except:
- ^(dev)
script:
- dir
- Write-Host $CI_COMMIT_TAG
- bash deploy_windows.sh $CI_COMMIT_TAG $UPDATER_SERVER Grayjay.Desktop
artifacts:
paths:
- Grayjay.Desktop.CEF/bin/Release/net8.0/win-x64/Grayjay.Desktop-win-x64-v$CI_COMMIT_TAG.zip
expire_in: 1d
when: manual
buildAndDeployStableLinux:
stage: buildAndDeployStableLinux
tags:
- LinuxBuilder
only:
- tags
except:
- ^(dev)
script:
- echo "$(pwd)"
- bash deploy_linux.sh $CI_COMMIT_TAG $UPDATER_SERVER Grayjay.Desktop
artifacts:
paths:
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/linux-x64/Grayjay.Desktop-linux-x64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/win-x64/Grayjay.Desktop-win-x64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/osx-arm64/Grayjay.Desktop-osx-arm64-v$CI_COMMIT_TAG.zip
- /builds/videostreaming/Grayjay.Desktop/Grayjay.Desktop.CEF/bin/Release/net8.0/osx-arm64/Grayjay.Desktop-osx-x64-v$CI_COMMIT_TAG.zip
expire_in: 1d
when: manual