-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
75 lines (70 loc) · 1.6 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
stages:
- debug-build
- release-build
- doc-build
opensuse-doc-build:
stage: doc-build
image: dnegi/asta-astaprint-build:leap-latest
script:
- cargo doc
artifacts:
paths:
- target/doc
expire_in: 2d
only:
- release
- web
opensuse-development-build:
stage: debug-build
image: dnegi/asta-astaprint-build:leap-latest
script:
- cargo build
artifacts:
paths:
- target/debug/backend
- target/debug/worker
- target/debug/dispatcher
only:
- debug
- web
debian-development-build:
stage: debug-build
image: dnegi/asta-astaprint-build:buster-latest
script:
- cargo build
artifacts:
paths:
- target/debug/backend
- target/debug/worker
- target/debug/dispatcher
only:
- debug
- web
opensuse-release-build:
stage: release-build
image: dnegi/asta-astaprint-build:leap-latest
script:
- cargo build --release
artifacts:
paths:
- target/release/backend
- target/release/worker
- target/release/dispatcher
expire_in: 2d
only:
- release
- web
debian-release-build:
stage: release-build
image: dnegi/asta-astaprint-build:buster-latest
script:
- cargo build --release
artifacts:
paths:
- target/release/backend
- target/release/worker
- target/release/dispatcher
expire_in: 2d
only:
- release
- web