forked from c-sky/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
40 lines (35 loc) · 1.16 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
# Configuration for Gitlab-CI.
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
# The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
# It needs to be regenerated every time a defconfig is added, using
# "make .gitlab-ci.yml".
image: buildroot/base
.defconfig_script: &defconfig_script
- echo 'Configure Buildroot'
- make ${CI_BUILD_NAME}
- echo 'Build buildroot'
- |
make > >(tee build.log |grep '>>>') 2>&1 || {
echo 'Failed build last output'
tail -200 build.log
exit 1
}
.defconfig: &defconfig
script: *defconfig_script
artifacts:
when: always
expire_in: 2 weeks
paths:
- build.log
- output/build/build-time.log
- output/images/
- output/build/packages-file-list.txt
csky_gx6605s_defconfig: *defconfig
csky_gx6605s_fbcon_defconfig: *defconfig
csky_sc8925_defconfig: *defconfig
csky_sc6138a_defconfig: *defconfig
csky_kdgd_defconfig: *defconfig
csky_ytlf_defconfig: *defconfig
csky_eragon_defconfig: *defconfig
qemu_csky_ck810_uclibc_defconfig: *defconfig
qemu_csky_ck610_uclibc_defconfig: *defconfig