mirrored from https://gitlab.com/Elypia/imagecaster-gui
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
44 lines (37 loc) · 961 Bytes
/
.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
image: node:12.15.0-alpine3.11
before_script:
- yarn install
variables:
IMAGECASTER_ARCHIVE: imagecaster.zip
cache:
paths:
- node_modules/
# Compile the website into static assets.
build:
stage: build
script:
- yarn run build
build-electron-linux:
image: electronuserland/builder:12-11.19
stage: build
script:
- wget --output-document ${IMAGECASTER_ARCHIVE} https://gitlab.com/Elypia/imagecaster/-/jobs/473697196/artifacts/download
- unzip ${IMAGECASTER_ARCHIVE}
- yarn run electron:linux
artifacts:
paths:
- dist/imagecaster.*
build-electron-windows:
image: electronuserland/builder:wine
stage: build
script:
- wget --output-document ${IMAGECASTER_ARCHIVE} https://gitlab.com/Elypia/imagecaster/-/jobs/473697208/artifacts/download
- unzip ${IMAGECASTER_ARCHIVE}
- yarn run electron:win
artifacts:
paths:
- dist/imagecaster.*
test:
stage: test
script:
- yarn run test