-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.gitlab-ci.yml
64 lines (58 loc) · 1.33 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
stages:
- build
- deploy
build:linux:x86_64:
stage: build
script:
- npm ci --no-audit
- node release/build.js --os linux --arch x86_64 --target itch-setup
- node release/build.js --os linux --arch x86_64 --target kitch-setup
tags:
- linux
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 --target itch-setup
- node release/build.js --os windows --arch i686 --target kitch-setup
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 --target itch-setup
- node release/build.js --os windows --arch x86_64 --target kitch-setup
tags:
- windows
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 --target itch-setup
- node release/build.js --os darwin --arch x86_64 --target kitch-setup
tags:
- darwin
artifacts:
expire_in: 1 week
paths:
- artifacts
deploy:
stage: deploy
tags:
- linux
script:
- npm ci --no-audit
- node release/deploy.js