blob: c81697920b9aecc4172c894acf554d66eb6e8c39 [file] [log] [blame]
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +01001# 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
Arnout Vandecappelled2a151c2017-07-02 18:24:59 +02007image: buildroot/base
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +01008
9.defconfig_script: &defconfig_script
10 - echo 'Configure Buildroot'
Thomas Preston3e869e02017-10-23 15:26:14 +010011 - make ${CI_JOB_NAME}
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010012 - 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
20check-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
Arnout Vandecappelled498aa42017-06-30 18:42:53 +020026check-DEVELOPERS:
Arnout Vandecappelle29ba13e2017-07-01 20:22:27 +020027 # 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.
Arnout Vandecappelled498aa42017-06-30 18:42:53 +020030 script:
Arnout Vandecappelle29ba13e2017-07-01 20:22:27 +020031 - "! utils/get-developers | grep -v 'No action specified'"
Arnout Vandecappelled498aa42017-06-30 18:42:53 +020032
Yann E. MORINb58059a2017-11-30 00:08:45 +010033check-package:
34 script:
Thomas Petazzonia59e4b02017-12-02 14:16:57 +010035 - find . -type f \( -name '*.mk' -o -name '*.hash' \) -exec ./utils/check-package {} +
Yann E. MORINb58059a2017-11-30 00:08:45 +010036
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010037.defconfig: &defconfig
38 # Running the defconfigs for every push is too much, so limit to
39 # explicit triggers through the API.
40 only:
41 - triggers
42 - tags
43 script: *defconfig_script
44 artifacts:
45 when: always
46 expire_in: 2 weeks
47 paths:
48 - build.log
49 - output/images/
50 - output/build/build-time.log
51 - output/build/packages-file-list.txt
52
Thomas Petazzonib287ea62017-07-02 18:13:22 +020053.runtime_test: &runtime_test
Ricardo Martincoskiaf6b5832017-07-30 01:49:43 -030054 # Keep build directories so the rootfs can be an artifact of the job. The
55 # runner will clean up those files for us.
Ricardo Martincoski3cc7bd22017-08-04 23:05:20 -030056 # Multiply every emulator timeout by 10 to avoid sporadic failures in
57 # elastic runners.
Thomas Preston3e869e02017-10-23 15:26:14 +010058 script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_JOB_NAME}
Thomas Petazzonib287ea62017-07-02 18:13:22 +020059 artifacts:
60 when: always
61 expire_in: 2 weeks
62 paths:
63 - test-output/*.log
Ricardo Martincoskiaf6b5832017-07-30 01:49:43 -030064 - test-output/*/images/*
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010065acmesystems_aria_g25_128mb_defconfig: *defconfig
66acmesystems_aria_g25_256mb_defconfig: *defconfig
67acmesystems_arietta_g25_128mb_defconfig: *defconfig
68acmesystems_arietta_g25_256mb_defconfig: *defconfig
69arcturus_ucp1020_defconfig: *defconfig
70arm_foundationv8_defconfig: *defconfig
71arm_juno_defconfig: *defconfig
72armadeus_apf27_defconfig: *defconfig
73armadeus_apf28_defconfig: *defconfig
74armadeus_apf51_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010075at91sam9260eknf_defconfig: *defconfig
76at91sam9g20dfc_defconfig: *defconfig
77at91sam9g45m10ek_defconfig: *defconfig
78at91sam9rlek_defconfig: *defconfig
79at91sam9x5ek_defconfig: *defconfig
Ludovic Desrochesece884a2016-11-03 15:08:38 +010080at91sam9x5ek_dev_defconfig: *defconfig
81at91sam9x5ek_mmc_defconfig: *defconfig
82at91sam9x5ek_mmc_dev_defconfig: *defconfig
Arnout Vandecappelle (Essensium/Mind)e46cbfc2017-10-06 23:41:32 +020083atmel_sama5d27_som1_ek_mmc_dev_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010084atmel_sama5d2_xplained_mmc_defconfig: *defconfig
85atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
86atmel_sama5d3_xplained_defconfig: *defconfig
87atmel_sama5d3_xplained_dev_defconfig: *defconfig
88atmel_sama5d3_xplained_mmc_defconfig: *defconfig
89atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
90atmel_sama5d3xek_defconfig: *defconfig
91atmel_sama5d4_xplained_defconfig: *defconfig
92atmel_sama5d4_xplained_dev_defconfig: *defconfig
93atmel_sama5d4_xplained_mmc_defconfig: *defconfig
94atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
Jagan Teki5f50fb82017-10-19 11:45:23 +020095bananapi_m1_defconfig: *defconfig
Arnout Vandecappelle (Essensium/Mind)c0455ad2017-09-23 20:51:46 +020096bananapi_m2_plus_defconfig: *defconfig
Jagan Teki5b9ac802017-12-20 10:53:30 +010097bananapi_m64_defconfig: *defconfig
Jörg Krause0ad10672017-01-13 19:54:24 +010098bananapro_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010099beagleboardx15_defconfig: *defconfig
100beaglebone_defconfig: *defconfig
101beaglebone_qt5_defconfig: *defconfig
102chromebook_snow_defconfig: *defconfig
103ci20_defconfig: *defconfig
Thomas Petazzoni6520c062017-05-07 13:42:12 +0200104ci40_defconfig: *defconfig
Guo Ren6a4131d2017-03-06 19:52:32 +0800105csky_gx6605s_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100106cubieboard2_defconfig: *defconfig
Jagan Tekic6473f82017-06-23 17:56:05 +0530107engicam_imx6qdl_icore_defconfig: *defconfig
Jagan Tekic5813f22017-09-13 17:12:07 +0530108engicam_imx6qdl_icore_qt5_defconfig: *defconfig
Jagan Teki3127e4d2017-06-23 17:56:06 +0530109engicam_imx6qdl_icore_rqs_defconfig: *defconfig
Jagan Teki09c0bc72017-06-23 17:56:08 +0530110engicam_imx6ul_geam_defconfig: *defconfig
Jagan Teki0235bc62017-06-23 17:56:09 +0530111engicam_imx6ul_isiot_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100112firefly_rk3288_defconfig: *defconfig
113firefly_rk3288_demo_defconfig: *defconfig
114freescale_imx28evk_defconfig: *defconfig
115freescale_imx31_3stack_defconfig: *defconfig
116freescale_imx6dlsabreauto_defconfig: *defconfig
117freescale_imx6dlsabresd_defconfig: *defconfig
118freescale_imx6qsabreauto_defconfig: *defconfig
119freescale_imx6qsabresd_defconfig: *defconfig
120freescale_imx6sololiteevk_defconfig: *defconfig
121freescale_imx6sxsabresd_defconfig: *defconfig
122freescale_imx6ulevk_defconfig: *defconfig
123freescale_imx7dsabresd_defconfig: *defconfig
124freescale_mpc8315erdb_defconfig: *defconfig
125freescale_p1010rdb_pa_defconfig: *defconfig
Jagan Teki43b1dd92017-12-20 10:53:33 +0100126friendlyarm_nanopi_a64_defconfig: *defconfig
Jagan Tekic7160a72017-12-20 10:53:34 +0100127friendlyarm_nanopi_neo2_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100128galileo_defconfig: *defconfig
129gdb_bfin_bf512_defconfig: *defconfig
130grinn_chiliboard_defconfig: *defconfig
131grinn_liteboard_defconfig: *defconfig
132imx23evk_defconfig: *defconfig
Fabio Estevamdd20bbd2017-09-26 13:56:48 -0300133imx6-sabreauto_defconfig: *defconfig
Fabio Estevam206bc5a2017-09-27 07:28:07 -0300134imx6-sabresd_defconfig: *defconfig
135imx6-sabresd_qt5_defconfig: *defconfig
Fabio Estevamf86d5e12017-11-14 11:18:11 -0200136imx6slevk_defconfig: *defconfig
Thomas Petazzoni7acccf52017-11-24 08:51:56 +0100137imx6sx-sdb_defconfig: *defconfig
Fabio Estevam475fb212017-11-23 12:38:42 -0200138imx6ulevk_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100139imx6ulpico_defconfig: *defconfig
Vanessa Maegima384ba852017-08-03 10:50:02 -0300140imx7dpico_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100141lego_ev3_defconfig: *defconfig
142linksprite_pcduino_defconfig: *defconfig
143minnowboard_max-graphical_defconfig: *defconfig
144minnowboard_max_defconfig: *defconfig
145mx25pdk_defconfig: *defconfig
146mx51evk_defconfig: *defconfig
147mx53loco_defconfig: *defconfig
148mx6cubox_defconfig: *defconfig
149mx6sx_udoo_neo_defconfig: *defconfig
150mx6udoo_defconfig: *defconfig
Chakra Divi7de984b2017-07-05 21:34:15 +0530151nanopi_m1_defconfig: *defconfig
Chakra Divib0a9ee02017-07-10 21:58:38 +0530152nanopi_m1_plus_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100153nanopi_neo_defconfig: *defconfig
154nexbox_a95x_defconfig: *defconfig
155nitrogen6sx_defconfig: *defconfig
156nitrogen6x_defconfig: *defconfig
157nitrogen7_defconfig: *defconfig
158odroidc2_defconfig: *defconfig
Chakra Divid7bdee22017-06-18 21:58:09 +0530159olimex_a13_olinuxino_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100160olimex_a20_olinuxino_lime2_defconfig: *defconfig
161olimex_a20_olinuxino_lime_defconfig: *defconfig
162olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
163olimex_a20_olinuxino_micro_defconfig: *defconfig
Jagan Tekid644b142017-12-20 10:53:35 +0100164olimex_a64_olinuxino_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100165olimex_imx233_olinuxino_defconfig: *defconfig
166openblocks_a6_defconfig: *defconfig
Thomas Petazzoniae2a6892017-12-08 10:39:20 +0100167orangepi_lite_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100168orangepi_one_defconfig: *defconfig
Jagan Teki4e3ac472017-12-20 10:53:39 +0100169orangepi_pc2_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100170orangepi_pc_defconfig: *defconfig
Thomas Petazzonif02b7df2017-12-03 23:25:42 +0100171orangepi_pc_plus_defconfig: *defconfig
Chakra Divibd22ae52017-07-01 06:47:20 +0530172orangepi_plus_defconfig: *defconfig
Jagan Tekif093b472017-12-20 10:53:37 +0100173orangepi_prime_defconfig: *defconfig
Jagan Teki10e76af2017-12-20 10:53:36 +0100174orangepi_win_defconfig: *defconfig
Peter Korsgaardca4322a2017-06-08 21:25:37 +0200175orangepi_zero_defconfig: *defconfig
Jagan Tekidc21f892017-12-20 10:53:38 +0100176orangepi_zero_plus2_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100177pandaboard_defconfig: *defconfig
178pc_x86_64_bios_defconfig: *defconfig
179pc_x86_64_efi_defconfig: *defconfig
Jagan Teki5baefdc2017-12-20 10:53:31 +0100180pine64_defconfig: *defconfig
Jagan Teki83d7a372017-12-20 10:53:32 +0100181pine64_sopine_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100182qemu_aarch64_virt_defconfig: *defconfig
183qemu_arm_versatile_defconfig: *defconfig
184qemu_arm_versatile_nommu_defconfig: *defconfig
185qemu_arm_vexpress_defconfig: *defconfig
186qemu_m68k_mcf5208_defconfig: *defconfig
187qemu_m68k_q800_defconfig: *defconfig
188qemu_microblazebe_mmu_defconfig: *defconfig
189qemu_microblazeel_mmu_defconfig: *defconfig
190qemu_mips32r2_malta_defconfig: *defconfig
191qemu_mips32r2el_malta_defconfig: *defconfig
192qemu_mips32r6_malta_defconfig: *defconfig
193qemu_mips32r6el_malta_defconfig: *defconfig
194qemu_mips64_malta_defconfig: *defconfig
195qemu_mips64el_malta_defconfig: *defconfig
196qemu_mips64r6_malta_defconfig: *defconfig
197qemu_mips64r6el_malta_defconfig: *defconfig
198qemu_nios2_10m50_defconfig: *defconfig
199qemu_or1k_defconfig: *defconfig
200qemu_ppc64_pseries_defconfig: *defconfig
Joel Stanley9d5b5b72017-09-20 12:18:45 +0930201qemu_ppc64le_pseries_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100202qemu_ppc_g3beige_defconfig: *defconfig
203qemu_ppc_mpc8544ds_defconfig: *defconfig
204qemu_ppc_virtex_ml507_defconfig: *defconfig
205qemu_sh4_r2d_defconfig: *defconfig
206qemu_sh4eb_r2d_defconfig: *defconfig
207qemu_sparc64_sun4u_defconfig: *defconfig
208qemu_sparc_ss10_defconfig: *defconfig
209qemu_x86_64_defconfig: *defconfig
210qemu_x86_defconfig: *defconfig
211qemu_xtensa_lx60_defconfig: *defconfig
212qemu_xtensa_lx60_nommu_defconfig: *defconfig
213raspberrypi0_defconfig: *defconfig
214raspberrypi2_defconfig: *defconfig
Thomas Petazzoni6520c062017-05-07 13:42:12 +0200215raspberrypi3_64_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100216raspberrypi3_defconfig: *defconfig
Arnout Vandecappelle (Essensium/Mind)73dba112017-09-26 23:49:01 +0200217raspberrypi3_qt5we_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100218raspberrypi_defconfig: *defconfig
219riotboard_defconfig: *defconfig
220roseapplepi_defconfig: *defconfig
221s6lx9_microboard_defconfig: *defconfig
222sheevaplug_defconfig: *defconfig
223snps_aarch64_vdk_defconfig: *defconfig
Arnout Vandecappelle8a8fe862017-04-15 21:39:40 +0200224snps_arc700_axs101_defconfig: *defconfig
225snps_archs38_axs103_defconfig: *defconfig
Thomas Petazzonibe959782017-05-14 13:56:38 +0200226snps_archs38_haps_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100227snps_archs38_vdk_defconfig: *defconfig
Michał Łyszczekf82bd2c2017-08-02 20:03:02 +0200228socrates_cyclone5_defconfig: *defconfig
Sergey Matyukevich9ea3da02017-12-09 15:17:20 +0300229solidrun_macchiatobin_mainline_defconfig: *defconfig
230solidrun_macchiatobin_marvell_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100231stm32f429_disco_defconfig: *defconfig
232stm32f469_disco_defconfig: *defconfig
233telit_evk_pro3_defconfig: *defconfig
234toradex_apalis_imx6_defconfig: *defconfig
235ts4800_defconfig: *defconfig
236ts4900_defconfig: *defconfig
237ts5x00_defconfig: *defconfig
Julien Grossholtz9a564872017-08-24 17:07:00 -0400238ts7680_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100239wandboard_defconfig: *defconfig
240warp7_defconfig: *defconfig
241warpboard_defconfig: *defconfig
242zynq_microzed_defconfig: *defconfig
243zynq_zc706_defconfig: *defconfig
244zynq_zed_defconfig: *defconfig
245zynq_zybo_defconfig: *defconfig
Thomas Petazzonib9e33432017-12-12 01:51:57 +0100246tests.boot.test_atf.TestATFAllwinner: *runtime_test
247tests.boot.test_atf.TestATFMarvell: *runtime_test
248tests.boot.test_atf.TestATFVexpress: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200249tests.core.test_post_scripts.TestPostScripts: *runtime_test
250tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
251tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
252tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
253tests.core.test_timezone.TestNoTimezone: *runtime_test
254tests.fs.test_ext.TestExt2: *runtime_test
255tests.fs.test_ext.TestExt2r1: *runtime_test
256tests.fs.test_ext.TestExt3: *runtime_test
257tests.fs.test_ext.TestExt4: *runtime_test
258tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
259tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200260tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
261tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
262tests.fs.test_jffs2.TestJffs2: *runtime_test
263tests.fs.test_squashfs.TestSquashfs: *runtime_test
264tests.fs.test_ubi.TestUbi: *runtime_test
265tests.fs.test_yaffs2.TestYaffs2: *runtime_test
Yann E. MORIN117835d2017-08-02 00:52:11 +0200266tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
267tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
268tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
269tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
270tests.init.test_none.TestInitSystemNone: *runtime_test
Yann E. MORINdd9dfb62017-08-02 00:52:24 +0200271tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
272tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
273tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
Yann E. MORIN117835d2017-08-02 00:52:11 +0200274tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
275tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
276tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200277tests.package.test_dropbear.TestDropbear: *runtime_test
Andrey Smirnovd2fe2682017-07-11 19:40:09 -0700278tests.package.test_ipython.TestIPythonPy2: *runtime_test
279tests.package.test_ipython.TestIPythonPy3: *runtime_test
Andrey Smirnov4c85d3e2017-07-11 19:40:05 -0700280tests.package.test_python.TestPython2: *runtime_test
Andrey Smirnov97278eb2017-07-11 19:40:06 -0700281tests.package.test_python.TestPython3: *runtime_test
Thomas Petazzoni8bbc37e2017-07-02 11:40:34 +0200282tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
283tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
Arnout Vandecappelle6355ec22017-07-24 13:16:26 +0200284tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
Thomas Petazzoni8bbc37e2017-07-02 11:40:34 +0200285tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200286tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
287tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
288tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
289tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test