blob: a6540d1fda33799ec447869d7756078038eb1a76 [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:
35 - find . -type f -name '*.mk' -exec ./utils/check-package {} +
36
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
Jörg Krause0ad10672017-01-13 19:54:24 +010097bananapro_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +010098beagleboardx15_defconfig: *defconfig
99beaglebone_defconfig: *defconfig
100beaglebone_qt5_defconfig: *defconfig
101chromebook_snow_defconfig: *defconfig
102ci20_defconfig: *defconfig
Thomas Petazzoni6520c062017-05-07 13:42:12 +0200103ci40_defconfig: *defconfig
Guo Ren6a4131d2017-03-06 19:52:32 +0800104csky_gx6605s_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100105cubieboard2_defconfig: *defconfig
Jagan Tekic6473f82017-06-23 17:56:05 +0530106engicam_imx6qdl_icore_defconfig: *defconfig
Jagan Tekic5813f22017-09-13 17:12:07 +0530107engicam_imx6qdl_icore_qt5_defconfig: *defconfig
Jagan Teki3127e4d2017-06-23 17:56:06 +0530108engicam_imx6qdl_icore_rqs_defconfig: *defconfig
Jagan Teki09c0bc72017-06-23 17:56:08 +0530109engicam_imx6ul_geam_defconfig: *defconfig
Jagan Teki0235bc62017-06-23 17:56:09 +0530110engicam_imx6ul_isiot_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100111firefly_rk3288_defconfig: *defconfig
112firefly_rk3288_demo_defconfig: *defconfig
113freescale_imx28evk_defconfig: *defconfig
114freescale_imx31_3stack_defconfig: *defconfig
115freescale_imx6dlsabreauto_defconfig: *defconfig
116freescale_imx6dlsabresd_defconfig: *defconfig
117freescale_imx6qsabreauto_defconfig: *defconfig
118freescale_imx6qsabresd_defconfig: *defconfig
119freescale_imx6sololiteevk_defconfig: *defconfig
120freescale_imx6sxsabresd_defconfig: *defconfig
121freescale_imx6ulevk_defconfig: *defconfig
122freescale_imx7dsabresd_defconfig: *defconfig
123freescale_mpc8315erdb_defconfig: *defconfig
124freescale_p1010rdb_pa_defconfig: *defconfig
125galileo_defconfig: *defconfig
126gdb_bfin_bf512_defconfig: *defconfig
127grinn_chiliboard_defconfig: *defconfig
128grinn_liteboard_defconfig: *defconfig
129imx23evk_defconfig: *defconfig
Fabio Estevamdd20bbd2017-09-26 13:56:48 -0300130imx6-sabreauto_defconfig: *defconfig
Fabio Estevam206bc5a2017-09-27 07:28:07 -0300131imx6-sabresd_defconfig: *defconfig
132imx6-sabresd_qt5_defconfig: *defconfig
Fabio Estevamf86d5e12017-11-14 11:18:11 -0200133imx6slevk_defconfig: *defconfig
Thomas Petazzoni7acccf52017-11-24 08:51:56 +0100134imx6sx-sdb_defconfig: *defconfig
Fabio Estevam475fb212017-11-23 12:38:42 -0200135imx6ulevk_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100136imx6ulpico_defconfig: *defconfig
Vanessa Maegima384ba852017-08-03 10:50:02 -0300137imx7dpico_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100138lego_ev3_defconfig: *defconfig
139linksprite_pcduino_defconfig: *defconfig
140minnowboard_max-graphical_defconfig: *defconfig
141minnowboard_max_defconfig: *defconfig
142mx25pdk_defconfig: *defconfig
143mx51evk_defconfig: *defconfig
144mx53loco_defconfig: *defconfig
145mx6cubox_defconfig: *defconfig
146mx6sx_udoo_neo_defconfig: *defconfig
147mx6udoo_defconfig: *defconfig
Chakra Divi7de984b2017-07-05 21:34:15 +0530148nanopi_m1_defconfig: *defconfig
Chakra Divib0a9ee02017-07-10 21:58:38 +0530149nanopi_m1_plus_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100150nanopi_neo_defconfig: *defconfig
151nexbox_a95x_defconfig: *defconfig
152nitrogen6sx_defconfig: *defconfig
153nitrogen6x_defconfig: *defconfig
154nitrogen7_defconfig: *defconfig
155odroidc2_defconfig: *defconfig
Chakra Divid7bdee22017-06-18 21:58:09 +0530156olimex_a13_olinuxino_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100157olimex_a20_olinuxino_lime2_defconfig: *defconfig
158olimex_a20_olinuxino_lime_defconfig: *defconfig
159olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
160olimex_a20_olinuxino_micro_defconfig: *defconfig
161olimex_imx233_olinuxino_defconfig: *defconfig
162openblocks_a6_defconfig: *defconfig
163orangepi_one_defconfig: *defconfig
164orangepi_pc_defconfig: *defconfig
Chakra Divibd22ae52017-07-01 06:47:20 +0530165orangepi_plus_defconfig: *defconfig
Peter Korsgaardca4322a2017-06-08 21:25:37 +0200166orangepi_zero_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100167pandaboard_defconfig: *defconfig
168pc_x86_64_bios_defconfig: *defconfig
169pc_x86_64_efi_defconfig: *defconfig
170qemu_aarch64_virt_defconfig: *defconfig
171qemu_arm_versatile_defconfig: *defconfig
172qemu_arm_versatile_nommu_defconfig: *defconfig
173qemu_arm_vexpress_defconfig: *defconfig
174qemu_m68k_mcf5208_defconfig: *defconfig
175qemu_m68k_q800_defconfig: *defconfig
176qemu_microblazebe_mmu_defconfig: *defconfig
177qemu_microblazeel_mmu_defconfig: *defconfig
178qemu_mips32r2_malta_defconfig: *defconfig
179qemu_mips32r2el_malta_defconfig: *defconfig
180qemu_mips32r6_malta_defconfig: *defconfig
181qemu_mips32r6el_malta_defconfig: *defconfig
182qemu_mips64_malta_defconfig: *defconfig
183qemu_mips64el_malta_defconfig: *defconfig
184qemu_mips64r6_malta_defconfig: *defconfig
185qemu_mips64r6el_malta_defconfig: *defconfig
186qemu_nios2_10m50_defconfig: *defconfig
187qemu_or1k_defconfig: *defconfig
188qemu_ppc64_pseries_defconfig: *defconfig
Joel Stanley9d5b5b72017-09-20 12:18:45 +0930189qemu_ppc64le_pseries_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100190qemu_ppc_g3beige_defconfig: *defconfig
191qemu_ppc_mpc8544ds_defconfig: *defconfig
192qemu_ppc_virtex_ml507_defconfig: *defconfig
193qemu_sh4_r2d_defconfig: *defconfig
194qemu_sh4eb_r2d_defconfig: *defconfig
195qemu_sparc64_sun4u_defconfig: *defconfig
196qemu_sparc_ss10_defconfig: *defconfig
197qemu_x86_64_defconfig: *defconfig
198qemu_x86_defconfig: *defconfig
199qemu_xtensa_lx60_defconfig: *defconfig
200qemu_xtensa_lx60_nommu_defconfig: *defconfig
201raspberrypi0_defconfig: *defconfig
202raspberrypi2_defconfig: *defconfig
Thomas Petazzoni6520c062017-05-07 13:42:12 +0200203raspberrypi3_64_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100204raspberrypi3_defconfig: *defconfig
Arnout Vandecappelle (Essensium/Mind)73dba112017-09-26 23:49:01 +0200205raspberrypi3_qt5we_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100206raspberrypi_defconfig: *defconfig
207riotboard_defconfig: *defconfig
208roseapplepi_defconfig: *defconfig
209s6lx9_microboard_defconfig: *defconfig
210sheevaplug_defconfig: *defconfig
211snps_aarch64_vdk_defconfig: *defconfig
Arnout Vandecappelle8a8fe862017-04-15 21:39:40 +0200212snps_arc700_axs101_defconfig: *defconfig
213snps_archs38_axs103_defconfig: *defconfig
Thomas Petazzonibe959782017-05-14 13:56:38 +0200214snps_archs38_haps_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100215snps_archs38_vdk_defconfig: *defconfig
Michał Łyszczekf82bd2c2017-08-02 20:03:02 +0200216socrates_cyclone5_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100217stm32f429_disco_defconfig: *defconfig
218stm32f469_disco_defconfig: *defconfig
219telit_evk_pro3_defconfig: *defconfig
220toradex_apalis_imx6_defconfig: *defconfig
221ts4800_defconfig: *defconfig
222ts4900_defconfig: *defconfig
223ts5x00_defconfig: *defconfig
Julien Grossholtz9a564872017-08-24 17:07:00 -0400224ts7680_defconfig: *defconfig
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +0100225wandboard_defconfig: *defconfig
226warp7_defconfig: *defconfig
227warpboard_defconfig: *defconfig
228zynq_microzed_defconfig: *defconfig
229zynq_zc706_defconfig: *defconfig
230zynq_zed_defconfig: *defconfig
231zynq_zybo_defconfig: *defconfig
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200232tests.core.test_post_scripts.TestPostScripts: *runtime_test
233tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
234tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
235tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
236tests.core.test_timezone.TestNoTimezone: *runtime_test
237tests.fs.test_ext.TestExt2: *runtime_test
238tests.fs.test_ext.TestExt2r1: *runtime_test
239tests.fs.test_ext.TestExt3: *runtime_test
240tests.fs.test_ext.TestExt4: *runtime_test
241tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
242tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200243tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
244tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
245tests.fs.test_jffs2.TestJffs2: *runtime_test
246tests.fs.test_squashfs.TestSquashfs: *runtime_test
247tests.fs.test_ubi.TestUbi: *runtime_test
248tests.fs.test_yaffs2.TestYaffs2: *runtime_test
Yann E. MORIN117835d2017-08-02 00:52:11 +0200249tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
250tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
251tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
252tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
253tests.init.test_none.TestInitSystemNone: *runtime_test
Yann E. MORINdd9dfb62017-08-02 00:52:24 +0200254tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
255tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
256tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
Yann E. MORIN117835d2017-08-02 00:52:11 +0200257tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
258tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
259tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200260tests.package.test_dropbear.TestDropbear: *runtime_test
Andrey Smirnovd2fe2682017-07-11 19:40:09 -0700261tests.package.test_ipython.TestIPythonPy2: *runtime_test
262tests.package.test_ipython.TestIPythonPy3: *runtime_test
Andrey Smirnov4c85d3e2017-07-11 19:40:05 -0700263tests.package.test_python.TestPython2: *runtime_test
Andrey Smirnov97278eb2017-07-11 19:40:06 -0700264tests.package.test_python.TestPython3: *runtime_test
Thomas Petazzoni8bbc37e2017-07-02 11:40:34 +0200265tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
266tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
Arnout Vandecappelle6355ec22017-07-24 13:16:26 +0200267tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
Thomas Petazzoni8bbc37e2017-07-02 11:40:34 +0200268tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
Thomas Petazzonib287ea62017-07-02 18:13:22 +0200269tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
270tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
271tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
272tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test