.gitlab-ci.yml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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. image: buildroot/base
  7. .defconfig_script: &defconfig_script
  8. - echo 'Configure Buildroot'
  9. - make ${CI_BUILD_NAME}
  10. - echo 'Build buildroot'
  11. - |
  12. make > >(tee build.log |grep '>>>') 2>&1 || {
  13. echo 'Failed build last output'
  14. tail -200 build.log
  15. exit 1
  16. }
  17. check-gitlab-ci.yml:
  18. script:
  19. - mv .gitlab-ci.yml .gitlab-ci.yml.orig
  20. - make .gitlab-ci.yml
  21. - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
  22. check-DEVELOPERS:
  23. # get-developers should print just "No action specified"; if it prints
  24. # anything else, it's a parse error.
  25. # The initial ! is removed by YAML so we need to quote it.
  26. script:
  27. - "! utils/get-developers | grep -v 'No action specified'"
  28. .defconfig: &defconfig
  29. # Running the defconfigs for every push is too much, so limit to
  30. # explicit triggers through the API.
  31. only:
  32. - triggers
  33. - tags
  34. script: *defconfig_script
  35. artifacts:
  36. when: always
  37. expire_in: 2 weeks
  38. paths:
  39. - build.log
  40. - output/images/
  41. - output/build/build-time.log
  42. - output/build/packages-file-list.txt
  43. .runtime_test: &runtime_test
  44. # Keep build directories so the rootfs can be an artifact of the job. The
  45. # runner will clean up those files for us.
  46. script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME}
  47. artifacts:
  48. when: always
  49. expire_in: 2 weeks
  50. paths:
  51. - test-output/*.log
  52. - test-output/*/images/*
  53. acmesystems_aria_g25_128mb_defconfig: *defconfig
  54. acmesystems_aria_g25_256mb_defconfig: *defconfig
  55. acmesystems_arietta_g25_128mb_defconfig: *defconfig
  56. acmesystems_arietta_g25_256mb_defconfig: *defconfig
  57. arcturus_ucp1020_defconfig: *defconfig
  58. arm_foundationv8_defconfig: *defconfig
  59. arm_juno_defconfig: *defconfig
  60. armadeus_apf27_defconfig: *defconfig
  61. armadeus_apf28_defconfig: *defconfig
  62. armadeus_apf51_defconfig: *defconfig
  63. armadeus_apf9328_defconfig: *defconfig
  64. at91sam9260eknf_defconfig: *defconfig
  65. at91sam9g20dfc_defconfig: *defconfig
  66. at91sam9g45m10ek_defconfig: *defconfig
  67. at91sam9rlek_defconfig: *defconfig
  68. at91sam9x5ek_defconfig: *defconfig
  69. at91sam9x5ek_dev_defconfig: *defconfig
  70. at91sam9x5ek_mmc_defconfig: *defconfig
  71. at91sam9x5ek_mmc_dev_defconfig: *defconfig
  72. atmel_sama5d2_xplained_mmc_defconfig: *defconfig
  73. atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
  74. atmel_sama5d3_xplained_defconfig: *defconfig
  75. atmel_sama5d3_xplained_dev_defconfig: *defconfig
  76. atmel_sama5d3_xplained_mmc_defconfig: *defconfig
  77. atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
  78. atmel_sama5d3xek_defconfig: *defconfig
  79. atmel_sama5d4_xplained_defconfig: *defconfig
  80. atmel_sama5d4_xplained_dev_defconfig: *defconfig
  81. atmel_sama5d4_xplained_mmc_defconfig: *defconfig
  82. atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
  83. bananapro_defconfig: *defconfig
  84. beagleboardx15_defconfig: *defconfig
  85. beaglebone_defconfig: *defconfig
  86. beaglebone_qt5_defconfig: *defconfig
  87. chromebook_snow_defconfig: *defconfig
  88. ci20_defconfig: *defconfig
  89. ci40_defconfig: *defconfig
  90. csky_gx6605s_defconfig: *defconfig
  91. cubieboard2_defconfig: *defconfig
  92. engicam_imx6qdl_icore_defconfig: *defconfig
  93. engicam_imx6qdl_icore_rqs_defconfig: *defconfig
  94. engicam_imx6ul_geam_defconfig: *defconfig
  95. engicam_imx6ul_isiot_defconfig: *defconfig
  96. firefly_rk3288_defconfig: *defconfig
  97. firefly_rk3288_demo_defconfig: *defconfig
  98. freescale_imx28evk_defconfig: *defconfig
  99. freescale_imx31_3stack_defconfig: *defconfig
  100. freescale_imx6dlsabreauto_defconfig: *defconfig
  101. freescale_imx6dlsabresd_defconfig: *defconfig
  102. freescale_imx6qsabreauto_defconfig: *defconfig
  103. freescale_imx6qsabresd_defconfig: *defconfig
  104. freescale_imx6sololiteevk_defconfig: *defconfig
  105. freescale_imx6sxsabresd_defconfig: *defconfig
  106. freescale_imx6ulevk_defconfig: *defconfig
  107. freescale_imx7dsabresd_defconfig: *defconfig
  108. freescale_mpc8315erdb_defconfig: *defconfig
  109. freescale_p1010rdb_pa_defconfig: *defconfig
  110. galileo_defconfig: *defconfig
  111. gdb_bfin_bf512_defconfig: *defconfig
  112. grinn_chiliboard_defconfig: *defconfig
  113. grinn_liteboard_defconfig: *defconfig
  114. imx23evk_defconfig: *defconfig
  115. imx6q-sabresd_defconfig: *defconfig
  116. imx6ulpico_defconfig: *defconfig
  117. lego_ev3_defconfig: *defconfig
  118. linksprite_pcduino_defconfig: *defconfig
  119. minnowboard_max-graphical_defconfig: *defconfig
  120. minnowboard_max_defconfig: *defconfig
  121. mx25pdk_defconfig: *defconfig
  122. mx51evk_defconfig: *defconfig
  123. mx53loco_defconfig: *defconfig
  124. mx6cubox_defconfig: *defconfig
  125. mx6sx_udoo_neo_defconfig: *defconfig
  126. mx6udoo_defconfig: *defconfig
  127. nanopi_m1_defconfig: *defconfig
  128. nanopi_m1_plus_defconfig: *defconfig
  129. nanopi_neo_defconfig: *defconfig
  130. nexbox_a95x_defconfig: *defconfig
  131. nitrogen6sx_defconfig: *defconfig
  132. nitrogen6x_defconfig: *defconfig
  133. nitrogen7_defconfig: *defconfig
  134. odroidc2_defconfig: *defconfig
  135. olimex_a13_olinuxino_defconfig: *defconfig
  136. olimex_a20_olinuxino_lime2_defconfig: *defconfig
  137. olimex_a20_olinuxino_lime_defconfig: *defconfig
  138. olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
  139. olimex_a20_olinuxino_micro_defconfig: *defconfig
  140. olimex_imx233_olinuxino_defconfig: *defconfig
  141. openblocks_a6_defconfig: *defconfig
  142. orangepi_one_defconfig: *defconfig
  143. orangepi_pc_defconfig: *defconfig
  144. orangepi_plus_defconfig: *defconfig
  145. orangepi_zero_defconfig: *defconfig
  146. pandaboard_defconfig: *defconfig
  147. pc_x86_64_bios_defconfig: *defconfig
  148. pc_x86_64_efi_defconfig: *defconfig
  149. qemu_aarch64_virt_defconfig: *defconfig
  150. qemu_arm_versatile_defconfig: *defconfig
  151. qemu_arm_versatile_nommu_defconfig: *defconfig
  152. qemu_arm_vexpress_defconfig: *defconfig
  153. qemu_m68k_mcf5208_defconfig: *defconfig
  154. qemu_m68k_q800_defconfig: *defconfig
  155. qemu_microblazebe_mmu_defconfig: *defconfig
  156. qemu_microblazeel_mmu_defconfig: *defconfig
  157. qemu_mips32r2_malta_defconfig: *defconfig
  158. qemu_mips32r2el_malta_defconfig: *defconfig
  159. qemu_mips32r6_malta_defconfig: *defconfig
  160. qemu_mips32r6el_malta_defconfig: *defconfig
  161. qemu_mips64_malta_defconfig: *defconfig
  162. qemu_mips64el_malta_defconfig: *defconfig
  163. qemu_mips64r6_malta_defconfig: *defconfig
  164. qemu_mips64r6el_malta_defconfig: *defconfig
  165. qemu_nios2_10m50_defconfig: *defconfig
  166. qemu_or1k_defconfig: *defconfig
  167. qemu_ppc64_pseries_defconfig: *defconfig
  168. qemu_ppc_g3beige_defconfig: *defconfig
  169. qemu_ppc_mpc8544ds_defconfig: *defconfig
  170. qemu_ppc_virtex_ml507_defconfig: *defconfig
  171. qemu_sh4_r2d_defconfig: *defconfig
  172. qemu_sh4eb_r2d_defconfig: *defconfig
  173. qemu_sparc64_sun4u_defconfig: *defconfig
  174. qemu_sparc_ss10_defconfig: *defconfig
  175. qemu_x86_64_defconfig: *defconfig
  176. qemu_x86_defconfig: *defconfig
  177. qemu_xtensa_lx60_defconfig: *defconfig
  178. qemu_xtensa_lx60_nommu_defconfig: *defconfig
  179. raspberrypi0_defconfig: *defconfig
  180. raspberrypi2_defconfig: *defconfig
  181. raspberrypi3_64_defconfig: *defconfig
  182. raspberrypi3_defconfig: *defconfig
  183. raspberrypi_defconfig: *defconfig
  184. riotboard_defconfig: *defconfig
  185. roseapplepi_defconfig: *defconfig
  186. s6lx9_microboard_defconfig: *defconfig
  187. sheevaplug_defconfig: *defconfig
  188. snps_aarch64_vdk_defconfig: *defconfig
  189. snps_arc700_axs101_defconfig: *defconfig
  190. snps_archs38_axs103_defconfig: *defconfig
  191. snps_archs38_haps_defconfig: *defconfig
  192. snps_archs38_vdk_defconfig: *defconfig
  193. socrates_cyclone5_defconfig: *defconfig
  194. stm32f429_disco_defconfig: *defconfig
  195. stm32f469_disco_defconfig: *defconfig
  196. telit_evk_pro3_defconfig: *defconfig
  197. toradex_apalis_imx6_defconfig: *defconfig
  198. ts4800_defconfig: *defconfig
  199. ts4900_defconfig: *defconfig
  200. ts5x00_defconfig: *defconfig
  201. wandboard_defconfig: *defconfig
  202. warp7_defconfig: *defconfig
  203. warpboard_defconfig: *defconfig
  204. zynq_microzed_defconfig: *defconfig
  205. zynq_zc706_defconfig: *defconfig
  206. zynq_zed_defconfig: *defconfig
  207. zynq_zybo_defconfig: *defconfig
  208. tests.core.test_post_scripts.TestPostScripts: *runtime_test
  209. tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test
  210. tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test
  211. tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test
  212. tests.core.test_timezone.TestNoTimezone: *runtime_test
  213. tests.fs.test_ext.TestExt2: *runtime_test
  214. tests.fs.test_ext.TestExt2r1: *runtime_test
  215. tests.fs.test_ext.TestExt3: *runtime_test
  216. tests.fs.test_ext.TestExt4: *runtime_test
  217. tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test
  218. tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test
  219. tests.fs.test_iso9660.TestIso9660GrubExternal: *runtime_test
  220. tests.fs.test_iso9660.TestIso9660GrubInternal: *runtime_test
  221. tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test
  222. tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test
  223. tests.fs.test_jffs2.TestJffs2: *runtime_test
  224. tests.fs.test_squashfs.TestSquashfs: *runtime_test
  225. tests.fs.test_ubi.TestUbi: *runtime_test
  226. tests.fs.test_yaffs2.TestYaffs2: *runtime_test
  227. tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test
  228. tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test
  229. tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test
  230. tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test
  231. tests.init.test_none.TestInitSystemNone: *runtime_test
  232. tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test
  233. tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test
  234. tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test
  235. tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test
  236. tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test
  237. tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test
  238. tests.package.test_dropbear.TestDropbear: *runtime_test
  239. tests.package.test_ipython.TestIPythonPy2: *runtime_test
  240. tests.package.test_ipython.TestIPythonPy3: *runtime_test
  241. tests.package.test_python.TestPython2: *runtime_test
  242. tests.package.test_python.TestPython3: *runtime_test
  243. tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test
  244. tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test
  245. tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test
  246. tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test
  247. tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test
  248. tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test
  249. tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test
  250. tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test