]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - .gitlab-ci.yml
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / .gitlab-ci.yml
1 # Configuration for Gitlab-CI.
2 # Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
3 # The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
4 # It needs to be regenerated every time a defconfig is added, using
5 # "make .gitlab-ci.yml".
6
7 image: buildroot/base:20180318.1724
8
9 .defconfig_script: &defconfig_script
10     - echo 'Configure Buildroot'
11     - make ${CI_JOB_NAME}
12     - echo 'Build buildroot'
13     - |
14         make > >(tee build.log |grep '>>>') 2>&1 || {
15             echo 'Failed build last output'
16             tail -200 build.log
17             exit 1
18         }
19
20 check-gitlab-ci.yml:
21     script:
22         - mv .gitlab-ci.yml .gitlab-ci.yml.orig
23         - make .gitlab-ci.yml
24         - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
25
26 check-DEVELOPERS:
27     # get-developers should print just "No action specified"; if it prints
28     # anything else, it's a parse error.
29     # The initial ! is removed by YAML so we need to quote it.
30     script:
31         - "! utils/get-developers | grep -v 'No action specified'"
32
33 check-flake8:
34     before_script:
35         # Help flake8 to find the Python files without .py extension.
36         - find * -type f -name '*.py' > files.txt
37         - find * -type f -print0 | xargs -0 file | grep 'Python script' | cut -d':' -f1 >> files.txt
38         - sort -u files.txt | tee files.processed
39     script:
40         - python -m flake8 --statistics --count $(cat files.processed)
41     after_script:
42         - wc -l files.processed
43
44 check-package:
45     script:
46         - find . -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' \)
47             -exec ./utils/check-package {} +
48
49 .defconfig: &defconfig
50     # Running the defconfigs for every push is too much, so limit to
51     # explicit triggers through the API.
52     only:
53         - triggers
54         - tags
55     script: *defconfig_script
56     artifacts:
57         when: always
58         expire_in: 2 weeks
59         paths:
60             - build.log
61             - output/images/
62             - output/build/build-time.log
63             - output/build/packages-file-list.txt
64
65 .runtime_test: &runtime_test
66     # Keep build directories so the rootfs can be an artifact of the job. The
67     # runner will clean up those files for us.
68     # Multiply every emulator timeout by 10 to avoid sporadic failures in
69     # elastic runners.
70     script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_JOB_NAME}
71     artifacts:
72         when: always
73         expire_in: 2 weeks
74         paths:
75             - test-output/*.log
76             - test-output/*/.config
77             - test-output/*/images/*
78 acmesystems_aria_g25_128mb_defconfig: *defconfig
79 acmesystems_aria_g25_256mb_defconfig: *defconfig
80 acmesystems_arietta_g25_128mb_defconfig: *defconfig
81 acmesystems_arietta_g25_256mb_defconfig: *defconfig
82 amarula_vyasa_rk3288_defconfig: *defconfig
83 arcturus_ucls1012a_defconfig: *defconfig
84 arcturus_ucp1020_defconfig: *defconfig
85 arm_foundationv8_defconfig: *defconfig
86 arm_juno_defconfig: *defconfig
87 armadeus_apf27_defconfig: *defconfig
88 armadeus_apf28_defconfig: *defconfig
89 armadeus_apf51_defconfig: *defconfig
90 asus_tinker_rk3288_defconfig: *defconfig
91 at91sam9260eknf_defconfig: *defconfig
92 at91sam9g20dfc_defconfig: *defconfig
93 at91sam9g45m10ek_defconfig: *defconfig
94 at91sam9rlek_defconfig: *defconfig
95 at91sam9x5ek_defconfig: *defconfig
96 at91sam9x5ek_dev_defconfig: *defconfig
97 at91sam9x5ek_mmc_defconfig: *defconfig
98 at91sam9x5ek_mmc_dev_defconfig: *defconfig
99 atmel_sama5d27_som1_ek_mmc_dev_defconfig: *defconfig
100 atmel_sama5d2_xplained_mmc_defconfig: *defconfig
101 atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
102 atmel_sama5d3_xplained_defconfig: *defconfig
103 atmel_sama5d3_xplained_dev_defconfig: *defconfig
104 atmel_sama5d3_xplained_mmc_defconfig: *defconfig
105 atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
106 atmel_sama5d3xek_defconfig: *defconfig
107 atmel_sama5d4_xplained_defconfig: *defconfig
108 atmel_sama5d4_xplained_dev_defconfig: *defconfig
109 atmel_sama5d4_xplained_mmc_defconfig: *defconfig
110 atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
111 bananapi_m1_defconfig: *defconfig
112 bananapi_m2_plus_defconfig: *defconfig
113 bananapi_m64_defconfig: *defconfig
114 bananapro_defconfig: *defconfig
115 beagleboardx15_defconfig: *defconfig
116 beaglebone_defconfig: *defconfig
117 beaglebone_qt5_defconfig: *defconfig
118 chromebook_snow_defconfig: *defconfig
119 ci20_defconfig: *defconfig
120 csky_gx6605s_defconfig: *defconfig
121 cubieboard2_defconfig: *defconfig
122 engicam_imx6qdl_icore_defconfig: *defconfig
123 engicam_imx6qdl_icore_qt5_defconfig: *defconfig
124 engicam_imx6qdl_icore_rqs_defconfig: *defconfig
125 engicam_imx6ul_geam_defconfig: *defconfig
126 engicam_imx6ul_isiot_defconfig: *defconfig
127 freescale_imx28evk_defconfig: *defconfig
128 freescale_imx6dlsabreauto_defconfig: *defconfig
129 freescale_imx6dlsabresd_defconfig: *defconfig
130 freescale_imx6qsabreauto_defconfig: *defconfig
131 freescale_imx6qsabresd_defconfig: *defconfig
132 freescale_imx6sxsabresd_defconfig: *defconfig
133 freescale_imx7dsabresd_defconfig: *defconfig
134 freescale_imx8mqevk_defconfig: *defconfig
135 freescale_p1025twr_defconfig: *defconfig
136 freescale_t1040d4rdb_defconfig: *defconfig
137 friendlyarm_nanopi_a64_defconfig: *defconfig
138 friendlyarm_nanopi_neo2_defconfig: *defconfig
139 galileo_defconfig: *defconfig
140 grinn_chiliboard_defconfig: *defconfig
141 grinn_liteboard_defconfig: *defconfig
142 imx23evk_defconfig: *defconfig
143 imx6-sabreauto_defconfig: *defconfig
144 imx6-sabresd_defconfig: *defconfig
145 imx6-sabresd_qt5_defconfig: *defconfig
146 imx6slevk_defconfig: *defconfig
147 imx6sx-sdb_defconfig: *defconfig
148 imx6ulevk_defconfig: *defconfig
149 imx6ulpico_defconfig: *defconfig
150 imx7dpico_defconfig: *defconfig
151 lego_ev3_defconfig: *defconfig
152 linksprite_pcduino_defconfig: *defconfig
153 minnowboard_max-graphical_defconfig: *defconfig
154 minnowboard_max_defconfig: *defconfig
155 mx25pdk_defconfig: *defconfig
156 mx51evk_defconfig: *defconfig
157 mx53loco_defconfig: *defconfig
158 mx6cubox_defconfig: *defconfig
159 mx6sx_udoo_neo_defconfig: *defconfig
160 mx6udoo_defconfig: *defconfig
161 nanopi_m1_defconfig: *defconfig
162 nanopi_m1_plus_defconfig: *defconfig
163 nanopi_neo_defconfig: *defconfig
164 nexbox_a95x_defconfig: *defconfig
165 nitrogen6sx_defconfig: *defconfig
166 nitrogen6x_defconfig: *defconfig
167 nitrogen7_defconfig: *defconfig
168 odroidc2_defconfig: *defconfig
169 olimex_a13_olinuxino_defconfig: *defconfig
170 olimex_a20_olinuxino_lime2_defconfig: *defconfig
171 olimex_a20_olinuxino_lime_defconfig: *defconfig
172 olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
173 olimex_a20_olinuxino_micro_defconfig: *defconfig
174 olimex_a64_olinuxino_defconfig: *defconfig
175 olimex_imx233_olinuxino_defconfig: *defconfig
176 openblocks_a6_defconfig: *defconfig
177 orangepi_lite_defconfig: *defconfig
178 orangepi_one_defconfig: *defconfig
179 orangepi_pc2_defconfig: *defconfig
180 orangepi_pc_defconfig: *defconfig
181 orangepi_pc_plus_defconfig: *defconfig
182 orangepi_plus_defconfig: *defconfig
183 orangepi_prime_defconfig: *defconfig
184 orangepi_win_defconfig: *defconfig
185 orangepi_zero_defconfig: *defconfig
186 orangepi_zero_plus2_defconfig: *defconfig
187 pandaboard_defconfig: *defconfig
188 pc_x86_64_bios_defconfig: *defconfig
189 pc_x86_64_efi_defconfig: *defconfig
190 pine64_defconfig: *defconfig
191 pine64_sopine_defconfig: *defconfig
192 qemu_aarch64_virt_defconfig: *defconfig
193 qemu_arm_versatile_defconfig: *defconfig
194 qemu_arm_versatile_nommu_defconfig: *defconfig
195 qemu_arm_vexpress_defconfig: *defconfig
196 qemu_m68k_mcf5208_defconfig: *defconfig
197 qemu_m68k_q800_defconfig: *defconfig
198 qemu_microblazebe_mmu_defconfig: *defconfig
199 qemu_microblazeel_mmu_defconfig: *defconfig
200 qemu_mips32r2_malta_defconfig: *defconfig
201 qemu_mips32r2el_malta_defconfig: *defconfig
202 qemu_mips32r6_malta_defconfig: *defconfig
203 qemu_mips32r6el_malta_defconfig: *defconfig
204 qemu_mips64_malta_defconfig: *defconfig
205 qemu_mips64el_malta_defconfig: *defconfig
206 qemu_mips64r6_malta_defconfig: *defconfig
207 qemu_mips64r6el_malta_defconfig: *defconfig
208 qemu_nios2_10m50_defconfig: *defconfig
209 qemu_or1k_defconfig: *defconfig
210 qemu_ppc64_e5500_defconfig: *defconfig
211 qemu_ppc64_pseries_defconfig: *defconfig
212 qemu_ppc64le_pseries_defconfig: *defconfig
213 qemu_ppc_g3beige_defconfig: *defconfig
214 qemu_ppc_mpc8544ds_defconfig: *defconfig
215 qemu_ppc_virtex_ml507_defconfig: *defconfig
216 qemu_sh4_r2d_defconfig: *defconfig
217 qemu_sh4eb_r2d_defconfig: *defconfig
218 qemu_sparc64_sun4u_defconfig: *defconfig
219 qemu_sparc_ss10_defconfig: *defconfig
220 qemu_x86_64_defconfig: *defconfig
221 qemu_x86_defconfig: *defconfig
222 qemu_xtensa_lx60_defconfig: *defconfig
223 qemu_xtensa_lx60_nommu_defconfig: *defconfig
224 raspberrypi0_defconfig: *defconfig
225 raspberrypi0w_defconfig: *defconfig
226 raspberrypi2_defconfig: *defconfig
227 raspberrypi3_64_defconfig: *defconfig
228 raspberrypi3_defconfig: *defconfig
229 raspberrypi3_qt5we_defconfig: *defconfig
230 raspberrypi_defconfig: *defconfig
231 roseapplepi_defconfig: *defconfig
232 s6lx9_microboard_defconfig: *defconfig
233 sheevaplug_defconfig: *defconfig
234 snps_aarch64_vdk_defconfig: *defconfig
235 snps_arc700_axs101_defconfig: *defconfig
236 snps_archs38_axs103_defconfig: *defconfig
237 snps_archs38_haps_defconfig: *defconfig
238 snps_archs38_hsdk_defconfig: *defconfig
239 snps_archs38_vdk_defconfig: *defconfig
240 socrates_cyclone5_defconfig: *defconfig
241 solidrun_clearfog_defconfig: *defconfig
242 solidrun_macchiatobin_mainline_defconfig: *defconfig
243 solidrun_macchiatobin_marvell_defconfig: *defconfig
244 stm32f429_disco_defconfig: *defconfig
245 stm32f469_disco_defconfig: *defconfig
246 toradex_apalis_imx6_defconfig: *defconfig
247 ts4800_defconfig: *defconfig
248 ts4900_defconfig: *defconfig
249 ts5500_defconfig: *defconfig
250 ts7680_defconfig: *defconfig
251 wandboard_defconfig: *defconfig
252 warp7_defconfig: *defconfig
253 warpboard_defconfig: *defconfig
254 zynq_microzed_defconfig: *defconfig
255 zynq_zc706_defconfig: *defconfig
256 zynq_zed_defconfig: *defconfig
257 zynq_zybo_defconfig: *defconfig
258 tests.boot.test_atf.TestATFAllwinner: *runtime_test
259 tests.boot.test_atf.TestATFMarvell: *runtime_test
260 tests.boot.test_atf.TestATFVexpress: *runtime_test
261 tests.core.test_post_scripts.TestPostScripts: *runtime_test
262 tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
263 tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
264 tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
265 tests.core.test_timezone.TestNoTimezone: *runtime_test
266 tests.fs.test_ext.TestExt2: *runtime_test
267 tests.fs.test_ext.TestExt2r1: *runtime_test
268 tests.fs.test_ext.TestExt3: *runtime_test
269 tests.fs.test_ext.TestExt4: *runtime_test
270 tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
271 tests.fs.test_iso9660.TestIso9660Grub2ExternalCompress: *runtime_test
272 tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
273 tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
274 tests.fs.test_iso9660.TestIso9660SyslinuxExternalCompress: *runtime_test
275 tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
276 tests.fs.test_jffs2.TestJffs2: *runtime_test
277 tests.fs.test_squashfs.TestSquashfs: *runtime_test
278 tests.fs.test_ubi.TestUbi: *runtime_test
279 tests.fs.test_yaffs2.TestYaffs2: *runtime_test
280 tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
281 tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
282 tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
283 tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
284 tests.init.test_none.TestInitSystemNone: *runtime_test
285 tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
286 tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
287 tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
288 tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
289 tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
290 tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
291 tests.package.test_dropbear.TestDropbear: *runtime_test
292 tests.package.test_ipython.TestIPythonPy2: *runtime_test
293 tests.package.test_ipython.TestIPythonPy3: *runtime_test
294 tests.package.test_python.TestPython2: *runtime_test
295 tests.package.test_python.TestPython3: *runtime_test
296 tests.package.test_python_cryptography.TestPythonPy2Cryptography: *runtime_test
297 tests.package.test_python_cryptography.TestPythonPy3Cryptography: *runtime_test
298 tests.package.test_rust.TestRust: *runtime_test
299 tests.package.test_rust.TestRustBin: *runtime_test
300 tests.package.test_syslog_ng.TestSyslogNg: *runtime_test
301 tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
302 tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
303 tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
304 tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
305 tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
306 tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
307 tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
308 tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test