forked from akuster/meta-odroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
143 lines (118 loc) · 2.87 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.after-my-script: &after-my-script
- cd $CI_PROJECT_DIR/poky
- . ./oe-init-build-env $CI_PROJECT_DIR/build
- for x in `ls $CI_PROJECT_DIR/build/tmp/log/error-report/ | grep error_report_`; do
- send-error-report -y tmp/log/error-report/$x
- done
stages:
- prep
- x86
- x86-post
- xu
- xu-post
- meson64
- meson64-post
- meson32
.prep:
stage: prep
before_script:
- rm -fr $CI_PROJECT_DIR/build
- echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error
- echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error
- export PATH=~/.local/bin:$PATH
- wget https://bootstrap.pypa.io/get-pip.py
- python3 get-pip.py
- python3 -m pip install kas
.xu:
stage: xu
after_script:
- *after-my-script
.xu-post:
stage: xu-post
after_script:
- rm -fr $CI_PROJECT_DIR/build
.meson32:
stage: meson32
after_script:
- *after-my-script
- rm -fr $CI_PROJECT_DIR/build
.meson64:
stage: meson64
after_script:
- *after-my-script
.meson64-post:
stage: meson64-post
after_script:
- rm -fr $CI_PROJECT_DIR/build
.x86:
stage: x86
after_script:
- *after-my-script
.x86-post:
stage: x86-post
after_script:
- rm -fr $CI_PROJECT_DIR/build
odroid-xu3-lite:
extends: .xu
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-xu3:
extends: .xu
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-xu4:
extends: .xu
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-hc1:
extends: .xu
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-xu4-x11:
extends: .xu
script:
- kas build --target odroid-x11-image kas/$CI_JOB_NAME.yml
odroid-xu3-lite-x11:
extends: .xu
script:
- kas build --target odroid-x11-image kas/$CI_JOB_NAME.yml
odroid-c1:
extends: .meson32
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-c2:
extends: .meson64
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-n2:
extends: .meson64
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-c4:
extends: .meson64
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-hc4:
extends: .meson64
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-n2l:
extends: .meson64
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-h2:
extends: .x86
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-h2-x11:
extends: .x86
script:
- kas build --target odroid-x11-image kas/$CI_JOB_NAME.yml
odroid-h3:
extends: .x86
script:
- kas build --target core-image-minimal kas/$CI_JOB_NAME.yml
odroid-h3-x11:
extends: .x86
script:
- kas build --target odroid-x11-image kas/$CI_JOB_NAME.yml