-
Notifications
You must be signed in to change notification settings - Fork 55
/
.gitlab-ci.yml
103 lines (92 loc) · 1.61 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
stages:
- test
- build
- deploy
variables:
SKIP_CODECOV: 1 # codecov is run on github actions, not necessary on gitlab build
# book:
# stage: deploy
# tags:
# - linux
# script:
# - npm ci --no-audit
# - node release/book.js
generous:
stage: deploy
tags:
- linux
script:
- npm ci --no-audit
- node release/generous.js
test:linux:
stage: test
tags:
- linux
script:
- npm ci --no-audit
- node release/test.js
test:macos:
stage: test
tags:
- darwin
script:
- npm ci --no-audit
- node release/test.js
test:windows:
stage: test
tags:
- windows
script:
- npm ci --no-audit
- node release/test.js
build:linux:x86_64:
stage: build
tags:
- linux
script:
- npm ci --no-audit
- node release/build.js --os linux --arch x86_64
artifacts:
expire_in: 1 week
paths:
- artifacts
build:darwin:x86_64:
stage: build
script:
- npm ci --no-audit
- node release/build.js --os darwin --arch x86_64
tags:
- darwin
artifacts:
expire_in: 1 week
paths:
- artifacts
build:windows:i686:
stage: build
script:
- npm ci --no-audit
- node release/build.js --os windows --arch i686
tags:
- windows
artifacts:
expire_in: 1 week
paths:
- artifacts
build:windows:x86_64:
stage: build
script:
- npm ci --no-audit
- node release/build.js --os windows --arch x86_64
tags:
- windows
artifacts:
expire_in: 1 week
paths:
- artifacts
deploy-itchio:
stage: deploy
tags:
- linux
script:
- npm ci --no-audit
- node release/deploy.js