-
Notifications
You must be signed in to change notification settings - Fork 214
/
.gitlab-ci.yml
executable file
·69 lines (62 loc) · 1.1 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
stages:
- package
- deploy
package-linux-amd64:
stage: package
tags:
- linux
script:
- npm ci
- node release/package-all.js --os linux --arch amd64
artifacts:
expire_in: 1 week
paths:
- artifacts
package-darwin-amd64:
stage: package
tags:
- darwin
script:
- npm ci
- node release/package-all.js --os darwin --arch amd64
artifacts:
expire_in: 1 week
paths:
- artifacts
package-windows-386:
stage: package
tags:
- windows
script:
- npm ci
- node release/package-all.js --os windows --arch 386
artifacts:
expire_in: 1 week
paths:
- artifacts
package-windows-amd64:
stage: package
tags:
- windows
script:
- npm ci
- node release/package-all.js --os windows --arch amd64
artifacts:
expire_in: 1 week
paths:
- artifacts
deploy-itchio:
stage: deploy
when: manual
tags:
- linux
only:
- tags
script:
- npm ci
- node release/deploy.js
dependencies:
- package-linux-amd64
- package-darwin-amd64
- package-windows-386
- package-windows-amd64