-
Notifications
You must be signed in to change notification settings - Fork 41
/
.gitlab-ci.yml
89 lines (83 loc) · 1.65 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
linux_mainnet:
image: greenaddress/electron@sha256:7a5aa06b61780c27ea7d9610846ae037bfa2ca3159a86fc6bb6213d3ad47d5c8
artifacts:
expire_in: 1 hour
paths:
- dist/greenaddress*.AppImage
when: on_success
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- ./prepare.sh mainnet
linux_testnet:
image: greenaddress/electron@sha256:7a5aa06b61780c27ea7d9610846ae037bfa2ca3159a86fc6bb6213d3ad47d5c8
artifacts:
expire_in: 1 hour
paths:
- dist/greenaddress*.AppImage
when: on_success
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- ./prepare.sh testnet
osx_mainnet:
tags:
- osx
artifacts:
expire_in: 1 hour
paths:
- dist/GreenAddress*.dmg
when: on_success
script:
- cd $CI_PROJECT_DIR
- TEST_TMP_DIR=/tmp ./prepare.sh mainnet
osx_testnet:
tags:
- osx
artifacts:
expire_in: 1 hour
paths:
- dist/GreenAddress*.dmg
when: on_success
script:
- cd $CI_PROJECT_DIR
- TEST_TMP_DIR=/tmp ./prepare.sh testnet
windows_mainnet:
tags:
- win10
artifacts:
expire_in: 1 hour
paths:
- dist/GreenAddress*.exe
when: on_success
script:
- windows_build.bat mainnet
windows_testnet:
tags:
- win10
artifacts:
expire_in: 1 hour
paths:
- dist/GreenAddress*.exe
when: on_success
script:
- windows_build.bat testnet
package_release:
tags:
- garelease
stage: deploy
artifacts:
expire_in: 14 days
paths:
- dist/*
when: on_success
script: cd $CI_PROJECT_DIR/dist && /opt/process_release
dependencies:
- osx_mainnet
- osx_testnet
- linux_mainnet
- linux_testnet
- windows_mainnet
- windows_testnet