forked from Nitrokey/coreboot-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
115 lines (106 loc) · 2.59 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
104
105
106
107
108
109
110
111
112
113
114
115
include:
- project: 'nitrokey/gitlab-ci'
file:
- 'common-jobs/common_jobs.yml'
stages:
- pull-github
- build
- deploy
variables:
#Repo for shared scripts (pull.sh release.sh, nightly_upload.sh):
GIT_STRATEGY: clone #This seems to have no effect also set in webinterface
GIT_DEPTH: 0 #This seems to have no effect also set in webinterface
GIT_SUBMODULE_STRATEGY: recursive #This seems to have no effect also set in webinterfac
REPO_USER: nitrokey
REPO_NAME: coreboot-builder
MAIN_BRANCH: main
COMMON_PULL: "true"
COMMON_UPLOAD_NIGHTLY: "false"
COMMON_GITHUB_RELEASE: "false"
COMMON_UPLOAD_FILES: "false"
DEVICE_FOLDER: "nitropc"
UPLOAD_FOLDER: "tianocore"
build-nitropc:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitropc SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitropc.rom artifacts/
artifacts:
paths:
- artifacts
build-nitropc-v2:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitropc-v2 SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitropc-v2.rom artifacts/
artifacts:
paths:
- artifacts
build-nitrowall-pro:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitrowall-pro SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitrowall-pro.rom artifacts/
artifacts:
paths:
- artifacts
build-nitropad-nv41:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitropad-nv41 SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitropad-nv41.rom artifacts/
artifacts:
paths:
- artifacts
build-nitropad-ns50:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitropad-ns50 SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitropad-ns50.rom artifacts/
artifacts:
paths:
- artifacts
build-nitrowall:
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
tags:
- docker
image: $CI_REGISTRY/nitrokey/coreboot-builder:latest
stage: build
script:
- make nitrowall SKIP_DOCKER=true
- mkdir -p artifacts
- cp firmware-nitrowall.rom artifacts/
artifacts:
paths:
- artifacts