Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 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 | |
Arnout Vandecappelle | d2a151c | 2017-07-02 18:24:59 +0200 | [diff] [blame] | 7 | image: buildroot/base |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 8 | |
| 9 | .defconfig_script: &defconfig_script |
| 10 | - echo 'Configure Buildroot' |
| 11 | - make ${CI_BUILD_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 | |
Arnout Vandecappelle | d498aa4 | 2017-06-30 18:42:53 +0200 | [diff] [blame] | 26 | check-DEVELOPERS: |
Arnout Vandecappelle | 29ba13e | 2017-07-01 20:22:27 +0200 | [diff] [blame] | 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. |
Arnout Vandecappelle | d498aa4 | 2017-06-30 18:42:53 +0200 | [diff] [blame] | 30 | script: |
Arnout Vandecappelle | 29ba13e | 2017-07-01 20:22:27 +0200 | [diff] [blame] | 31 | - "! utils/get-developers | grep -v 'No action specified'" |
Arnout Vandecappelle | d498aa4 | 2017-06-30 18:42:53 +0200 | [diff] [blame] | 32 | |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 33 | .defconfig: &defconfig |
| 34 | # Running the defconfigs for every push is too much, so limit to |
| 35 | # explicit triggers through the API. |
| 36 | only: |
| 37 | - triggers |
| 38 | - tags |
| 39 | script: *defconfig_script |
| 40 | artifacts: |
| 41 | when: always |
| 42 | expire_in: 2 weeks |
| 43 | paths: |
| 44 | - build.log |
| 45 | - output/images/ |
| 46 | - output/build/build-time.log |
| 47 | - output/build/packages-file-list.txt |
| 48 | |
Thomas Petazzoni | b287ea6 | 2017-07-02 18:13:22 +0200 | [diff] [blame] | 49 | .runtime_test: &runtime_test |
Ricardo Martincoski | af6b583 | 2017-07-30 01:49:43 -0300 | [diff] [blame] | 50 | # Keep build directories so the rootfs can be an artifact of the job. The |
| 51 | # runner will clean up those files for us. |
| 52 | script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME} |
Thomas Petazzoni | b287ea6 | 2017-07-02 18:13:22 +0200 | [diff] [blame] | 53 | artifacts: |
| 54 | when: always |
| 55 | expire_in: 2 weeks |
| 56 | paths: |
| 57 | - test-output/*.log |
Ricardo Martincoski | af6b583 | 2017-07-30 01:49:43 -0300 | [diff] [blame] | 58 | - test-output/*/images/* |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 59 | acmesystems_aria_g25_128mb_defconfig: *defconfig |
| 60 | acmesystems_aria_g25_256mb_defconfig: *defconfig |
| 61 | acmesystems_arietta_g25_128mb_defconfig: *defconfig |
| 62 | acmesystems_arietta_g25_256mb_defconfig: *defconfig |
| 63 | arcturus_ucp1020_defconfig: *defconfig |
| 64 | arm_foundationv8_defconfig: *defconfig |
| 65 | arm_juno_defconfig: *defconfig |
| 66 | armadeus_apf27_defconfig: *defconfig |
| 67 | armadeus_apf28_defconfig: *defconfig |
| 68 | armadeus_apf51_defconfig: *defconfig |
| 69 | armadeus_apf9328_defconfig: *defconfig |
| 70 | at91sam9260eknf_defconfig: *defconfig |
| 71 | at91sam9g20dfc_defconfig: *defconfig |
| 72 | at91sam9g45m10ek_defconfig: *defconfig |
| 73 | at91sam9rlek_defconfig: *defconfig |
| 74 | at91sam9x5ek_defconfig: *defconfig |
Ludovic Desroches | ece884a | 2016-11-03 15:08:38 +0100 | [diff] [blame] | 75 | at91sam9x5ek_dev_defconfig: *defconfig |
| 76 | at91sam9x5ek_mmc_defconfig: *defconfig |
| 77 | at91sam9x5ek_mmc_dev_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 78 | atmel_sama5d2_xplained_mmc_defconfig: *defconfig |
| 79 | atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig |
| 80 | atmel_sama5d3_xplained_defconfig: *defconfig |
| 81 | atmel_sama5d3_xplained_dev_defconfig: *defconfig |
| 82 | atmel_sama5d3_xplained_mmc_defconfig: *defconfig |
| 83 | atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig |
| 84 | atmel_sama5d3xek_defconfig: *defconfig |
| 85 | atmel_sama5d4_xplained_defconfig: *defconfig |
| 86 | atmel_sama5d4_xplained_dev_defconfig: *defconfig |
| 87 | atmel_sama5d4_xplained_mmc_defconfig: *defconfig |
| 88 | atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig |
Jörg Krause | 0ad1067 | 2017-01-13 19:54:24 +0100 | [diff] [blame] | 89 | bananapro_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 90 | beagleboardx15_defconfig: *defconfig |
| 91 | beaglebone_defconfig: *defconfig |
| 92 | beaglebone_qt5_defconfig: *defconfig |
| 93 | chromebook_snow_defconfig: *defconfig |
| 94 | ci20_defconfig: *defconfig |
Thomas Petazzoni | 6520c06 | 2017-05-07 13:42:12 +0200 | [diff] [blame] | 95 | ci40_defconfig: *defconfig |
Guo Ren | 6a4131d | 2017-03-06 19:52:32 +0800 | [diff] [blame] | 96 | csky_gx6605s_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 97 | cubieboard2_defconfig: *defconfig |
Jagan Teki | c6473f8 | 2017-06-23 17:56:05 +0530 | [diff] [blame] | 98 | engicam_imx6qdl_icore_defconfig: *defconfig |
Jagan Teki | 3127e4d | 2017-06-23 17:56:06 +0530 | [diff] [blame] | 99 | engicam_imx6qdl_icore_rqs_defconfig: *defconfig |
Jagan Teki | 09c0bc7 | 2017-06-23 17:56:08 +0530 | [diff] [blame] | 100 | engicam_imx6ul_geam_defconfig: *defconfig |
Jagan Teki | 0235bc6 | 2017-06-23 17:56:09 +0530 | [diff] [blame] | 101 | engicam_imx6ul_isiot_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 102 | firefly_rk3288_defconfig: *defconfig |
| 103 | firefly_rk3288_demo_defconfig: *defconfig |
| 104 | freescale_imx28evk_defconfig: *defconfig |
| 105 | freescale_imx31_3stack_defconfig: *defconfig |
| 106 | freescale_imx6dlsabreauto_defconfig: *defconfig |
| 107 | freescale_imx6dlsabresd_defconfig: *defconfig |
| 108 | freescale_imx6qsabreauto_defconfig: *defconfig |
| 109 | freescale_imx6qsabresd_defconfig: *defconfig |
| 110 | freescale_imx6sololiteevk_defconfig: *defconfig |
| 111 | freescale_imx6sxsabresd_defconfig: *defconfig |
| 112 | freescale_imx6ulevk_defconfig: *defconfig |
| 113 | freescale_imx7dsabresd_defconfig: *defconfig |
| 114 | freescale_mpc8315erdb_defconfig: *defconfig |
| 115 | freescale_p1010rdb_pa_defconfig: *defconfig |
| 116 | galileo_defconfig: *defconfig |
| 117 | gdb_bfin_bf512_defconfig: *defconfig |
| 118 | grinn_chiliboard_defconfig: *defconfig |
| 119 | grinn_liteboard_defconfig: *defconfig |
| 120 | imx23evk_defconfig: *defconfig |
| 121 | imx6q-sabresd_defconfig: *defconfig |
Fabio Estevam | a8480e3 | 2017-06-21 17:49:47 -0300 | [diff] [blame] | 122 | imx6q-sabresd_qt5_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 123 | imx6ulpico_defconfig: *defconfig |
Vanessa Maegima | 384ba85 | 2017-08-03 10:50:02 -0300 | [diff] [blame] | 124 | imx7dpico_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 125 | lego_ev3_defconfig: *defconfig |
| 126 | linksprite_pcduino_defconfig: *defconfig |
| 127 | minnowboard_max-graphical_defconfig: *defconfig |
| 128 | minnowboard_max_defconfig: *defconfig |
| 129 | mx25pdk_defconfig: *defconfig |
| 130 | mx51evk_defconfig: *defconfig |
| 131 | mx53loco_defconfig: *defconfig |
| 132 | mx6cubox_defconfig: *defconfig |
| 133 | mx6sx_udoo_neo_defconfig: *defconfig |
| 134 | mx6udoo_defconfig: *defconfig |
Chakra Divi | 7de984b | 2017-07-05 21:34:15 +0530 | [diff] [blame] | 135 | nanopi_m1_defconfig: *defconfig |
Chakra Divi | b0a9ee0 | 2017-07-10 21:58:38 +0530 | [diff] [blame] | 136 | nanopi_m1_plus_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 137 | nanopi_neo_defconfig: *defconfig |
| 138 | nexbox_a95x_defconfig: *defconfig |
| 139 | nitrogen6sx_defconfig: *defconfig |
| 140 | nitrogen6x_defconfig: *defconfig |
| 141 | nitrogen7_defconfig: *defconfig |
| 142 | odroidc2_defconfig: *defconfig |
Chakra Divi | d7bdee2 | 2017-06-18 21:58:09 +0530 | [diff] [blame] | 143 | olimex_a13_olinuxino_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 144 | olimex_a20_olinuxino_lime2_defconfig: *defconfig |
| 145 | olimex_a20_olinuxino_lime_defconfig: *defconfig |
| 146 | olimex_a20_olinuxino_lime_mali_defconfig: *defconfig |
| 147 | olimex_a20_olinuxino_micro_defconfig: *defconfig |
| 148 | olimex_imx233_olinuxino_defconfig: *defconfig |
| 149 | openblocks_a6_defconfig: *defconfig |
| 150 | orangepi_one_defconfig: *defconfig |
| 151 | orangepi_pc_defconfig: *defconfig |
Chakra Divi | bd22ae5 | 2017-07-01 06:47:20 +0530 | [diff] [blame] | 152 | orangepi_plus_defconfig: *defconfig |
Peter Korsgaard | ca4322a | 2017-06-08 21:25:37 +0200 | [diff] [blame] | 153 | orangepi_zero_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 154 | pandaboard_defconfig: *defconfig |
| 155 | pc_x86_64_bios_defconfig: *defconfig |
| 156 | pc_x86_64_efi_defconfig: *defconfig |
| 157 | qemu_aarch64_virt_defconfig: *defconfig |
| 158 | qemu_arm_versatile_defconfig: *defconfig |
| 159 | qemu_arm_versatile_nommu_defconfig: *defconfig |
| 160 | qemu_arm_vexpress_defconfig: *defconfig |
| 161 | qemu_m68k_mcf5208_defconfig: *defconfig |
| 162 | qemu_m68k_q800_defconfig: *defconfig |
| 163 | qemu_microblazebe_mmu_defconfig: *defconfig |
| 164 | qemu_microblazeel_mmu_defconfig: *defconfig |
| 165 | qemu_mips32r2_malta_defconfig: *defconfig |
| 166 | qemu_mips32r2el_malta_defconfig: *defconfig |
| 167 | qemu_mips32r6_malta_defconfig: *defconfig |
| 168 | qemu_mips32r6el_malta_defconfig: *defconfig |
| 169 | qemu_mips64_malta_defconfig: *defconfig |
| 170 | qemu_mips64el_malta_defconfig: *defconfig |
| 171 | qemu_mips64r6_malta_defconfig: *defconfig |
| 172 | qemu_mips64r6el_malta_defconfig: *defconfig |
| 173 | qemu_nios2_10m50_defconfig: *defconfig |
| 174 | qemu_or1k_defconfig: *defconfig |
| 175 | qemu_ppc64_pseries_defconfig: *defconfig |
| 176 | qemu_ppc_g3beige_defconfig: *defconfig |
| 177 | qemu_ppc_mpc8544ds_defconfig: *defconfig |
| 178 | qemu_ppc_virtex_ml507_defconfig: *defconfig |
| 179 | qemu_sh4_r2d_defconfig: *defconfig |
| 180 | qemu_sh4eb_r2d_defconfig: *defconfig |
| 181 | qemu_sparc64_sun4u_defconfig: *defconfig |
| 182 | qemu_sparc_ss10_defconfig: *defconfig |
| 183 | qemu_x86_64_defconfig: *defconfig |
| 184 | qemu_x86_defconfig: *defconfig |
| 185 | qemu_xtensa_lx60_defconfig: *defconfig |
| 186 | qemu_xtensa_lx60_nommu_defconfig: *defconfig |
| 187 | raspberrypi0_defconfig: *defconfig |
| 188 | raspberrypi2_defconfig: *defconfig |
Thomas Petazzoni | 6520c06 | 2017-05-07 13:42:12 +0200 | [diff] [blame] | 189 | raspberrypi3_64_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 190 | raspberrypi3_defconfig: *defconfig |
| 191 | raspberrypi_defconfig: *defconfig |
| 192 | riotboard_defconfig: *defconfig |
| 193 | roseapplepi_defconfig: *defconfig |
| 194 | s6lx9_microboard_defconfig: *defconfig |
| 195 | sheevaplug_defconfig: *defconfig |
| 196 | snps_aarch64_vdk_defconfig: *defconfig |
Arnout Vandecappelle | 8a8fe86 | 2017-04-15 21:39:40 +0200 | [diff] [blame] | 197 | snps_arc700_axs101_defconfig: *defconfig |
| 198 | snps_archs38_axs103_defconfig: *defconfig |
Thomas Petazzoni | be95978 | 2017-05-14 13:56:38 +0200 | [diff] [blame] | 199 | snps_archs38_haps_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 200 | snps_archs38_vdk_defconfig: *defconfig |
Michał Łyszczek | f82bd2c | 2017-08-02 20:03:02 +0200 | [diff] [blame] | 201 | socrates_cyclone5_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 202 | stm32f429_disco_defconfig: *defconfig |
| 203 | stm32f469_disco_defconfig: *defconfig |
| 204 | telit_evk_pro3_defconfig: *defconfig |
| 205 | toradex_apalis_imx6_defconfig: *defconfig |
| 206 | ts4800_defconfig: *defconfig |
| 207 | ts4900_defconfig: *defconfig |
| 208 | ts5x00_defconfig: *defconfig |
Julien Grossholtz | 9a56487 | 2017-08-24 17:07:00 -0400 | [diff] [blame^] | 209 | ts7680_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 210 | wandboard_defconfig: *defconfig |
| 211 | warp7_defconfig: *defconfig |
| 212 | warpboard_defconfig: *defconfig |
| 213 | zynq_microzed_defconfig: *defconfig |
| 214 | zynq_zc706_defconfig: *defconfig |
| 215 | zynq_zed_defconfig: *defconfig |
| 216 | zynq_zybo_defconfig: *defconfig |
Thomas Petazzoni | b287ea6 | 2017-07-02 18:13:22 +0200 | [diff] [blame] | 217 | tests.core.test_post_scripts.TestPostScripts: *runtime_test |
| 218 | tests.core.test_rootfs_overlay.TestRootfsOverlay: *runtime_test |
| 219 | tests.core.test_timezone.TestGlibcAllTimezone: *runtime_test |
| 220 | tests.core.test_timezone.TestGlibcNonDefaultLimitedTimezone: *runtime_test |
| 221 | tests.core.test_timezone.TestNoTimezone: *runtime_test |
| 222 | tests.fs.test_ext.TestExt2: *runtime_test |
| 223 | tests.fs.test_ext.TestExt2r1: *runtime_test |
| 224 | tests.fs.test_ext.TestExt3: *runtime_test |
| 225 | tests.fs.test_ext.TestExt4: *runtime_test |
| 226 | tests.fs.test_iso9660.TestIso9660Grub2External: *runtime_test |
| 227 | tests.fs.test_iso9660.TestIso9660Grub2Internal: *runtime_test |
| 228 | tests.fs.test_iso9660.TestIso9660GrubExternal: *runtime_test |
| 229 | tests.fs.test_iso9660.TestIso9660GrubInternal: *runtime_test |
| 230 | tests.fs.test_iso9660.TestIso9660SyslinuxExternal: *runtime_test |
| 231 | tests.fs.test_iso9660.TestIso9660SyslinuxInternal: *runtime_test |
| 232 | tests.fs.test_jffs2.TestJffs2: *runtime_test |
| 233 | tests.fs.test_squashfs.TestSquashfs: *runtime_test |
| 234 | tests.fs.test_ubi.TestUbi: *runtime_test |
| 235 | tests.fs.test_yaffs2.TestYaffs2: *runtime_test |
Yann E. MORIN | 117835d | 2017-08-02 00:52:11 +0200 | [diff] [blame] | 236 | tests.init.test_busybox.TestInitSystemBusyboxRo: *runtime_test |
| 237 | tests.init.test_busybox.TestInitSystemBusyboxRoNet: *runtime_test |
| 238 | tests.init.test_busybox.TestInitSystemBusyboxRw: *runtime_test |
| 239 | tests.init.test_busybox.TestInitSystemBusyboxRwNet: *runtime_test |
| 240 | tests.init.test_none.TestInitSystemNone: *runtime_test |
Yann E. MORIN | dd9dfb6 | 2017-08-02 00:52:24 +0200 | [diff] [blame] | 241 | tests.init.test_systemd.TestInitSystemSystemdRoFull: *runtime_test |
| 242 | tests.init.test_systemd.TestInitSystemSystemdRoIfupdown: *runtime_test |
| 243 | tests.init.test_systemd.TestInitSystemSystemdRoNetworkd: *runtime_test |
Yann E. MORIN | 117835d | 2017-08-02 00:52:11 +0200 | [diff] [blame] | 244 | tests.init.test_systemd.TestInitSystemSystemdRwFull: *runtime_test |
| 245 | tests.init.test_systemd.TestInitSystemSystemdRwIfupdown: *runtime_test |
| 246 | tests.init.test_systemd.TestInitSystemSystemdRwNetworkd: *runtime_test |
Thomas Petazzoni | b287ea6 | 2017-07-02 18:13:22 +0200 | [diff] [blame] | 247 | tests.package.test_dropbear.TestDropbear: *runtime_test |
Andrey Smirnov | d2fe268 | 2017-07-11 19:40:09 -0700 | [diff] [blame] | 248 | tests.package.test_ipython.TestIPythonPy2: *runtime_test |
| 249 | tests.package.test_ipython.TestIPythonPy3: *runtime_test |
Andrey Smirnov | 4c85d3e | 2017-07-11 19:40:05 -0700 | [diff] [blame] | 250 | tests.package.test_python.TestPython2: *runtime_test |
Andrey Smirnov | 97278eb | 2017-07-11 19:40:06 -0700 | [diff] [blame] | 251 | tests.package.test_python.TestPython3: *runtime_test |
Thomas Petazzoni | 8bbc37e | 2017-07-02 11:40:34 +0200 | [diff] [blame] | 252 | tests.toolchain.test_external.TestExternalToolchainBuildrootMusl: *runtime_test |
| 253 | tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc: *runtime_test |
Arnout Vandecappelle | 6355ec2 | 2017-07-24 13:16:26 +0200 | [diff] [blame] | 254 | tests.toolchain.test_external.TestExternalToolchainCCache: *runtime_test |
Thomas Petazzoni | 8bbc37e | 2017-07-02 11:40:34 +0200 | [diff] [blame] | 255 | tests.toolchain.test_external.TestExternalToolchainCtngMusl: *runtime_test |
Thomas Petazzoni | b287ea6 | 2017-07-02 18:13:22 +0200 | [diff] [blame] | 256 | tests.toolchain.test_external.TestExternalToolchainLinaroArm: *runtime_test |
| 257 | tests.toolchain.test_external.TestExternalToolchainSourceryArmv4: *runtime_test |
| 258 | tests.toolchain.test_external.TestExternalToolchainSourceryArmv5: *runtime_test |
| 259 | tests.toolchain.test_external.TestExternalToolchainSourceryArmv7: *runtime_test |