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 | |
| 7 | image: debian:stable |
| 8 | |
| 9 | before_script: |
| 10 | - dpkg --add-architecture i386 |
| 11 | # The container has no package lists, so need to update first |
| 12 | - apt-get update -qq |
| 13 | - apt-get install -y -qq --no-install-recommends |
Arnout Vandecappelle | 512a083 | 2017-03-10 13:35:58 +0100 | [diff] [blame] | 14 | build-essential locales bc ca-certificates file rsync gcc-multilib |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 15 | git bzr cvs mercurial subversion libc6:i386 unzip wget cpio |
| 16 | # To be able to generate a toolchain with locales, enable one UTF-8 locale |
| 17 | - sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen |
| 18 | - /usr/sbin/locale-gen |
| 19 | |
| 20 | .defconfig_script: &defconfig_script |
| 21 | - echo 'Configure Buildroot' |
| 22 | - make ${CI_BUILD_NAME} |
| 23 | - echo 'Build buildroot' |
| 24 | - | |
| 25 | make > >(tee build.log |grep '>>>') 2>&1 || { |
| 26 | echo 'Failed build last output' |
| 27 | tail -200 build.log |
| 28 | exit 1 |
| 29 | } |
| 30 | |
| 31 | check-gitlab-ci.yml: |
| 32 | script: |
| 33 | - mv .gitlab-ci.yml .gitlab-ci.yml.orig |
| 34 | - make .gitlab-ci.yml |
| 35 | - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml |
| 36 | |
| 37 | .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 | |
| 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 |
Ludovic Desroches | ece884a | 2016-11-03 15:08:38 +0100 | [diff] [blame] | 69 | at91sam9x5ek_dev_defconfig: *defconfig |
| 70 | at91sam9x5ek_mmc_defconfig: *defconfig |
| 71 | at91sam9x5ek_mmc_dev_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 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 |
Jörg Krause | 0ad1067 | 2017-01-13 19:54:24 +0100 | [diff] [blame] | 83 | bananapro_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 84 | beagleboardx15_defconfig: *defconfig |
| 85 | beaglebone_defconfig: *defconfig |
| 86 | beaglebone_qt5_defconfig: *defconfig |
| 87 | chromebook_snow_defconfig: *defconfig |
| 88 | ci20_defconfig: *defconfig |
Thomas Petazzoni | 6520c06 | 2017-05-07 13:42:12 +0200 | [diff] [blame] | 89 | ci40_defconfig: *defconfig |
Guo Ren | 6a4131d | 2017-03-06 19:52:32 +0800 | [diff] [blame] | 90 | csky_gx6605s_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 91 | cubieboard2_defconfig: *defconfig |
Thomas Petazzoni | 5c4ff9f | 2017-06-12 23:17:11 +0200 | [diff] [blame] | 92 | engicam_imx6q_icore_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 93 | firefly_rk3288_defconfig: *defconfig |
| 94 | firefly_rk3288_demo_defconfig: *defconfig |
| 95 | freescale_imx28evk_defconfig: *defconfig |
| 96 | freescale_imx31_3stack_defconfig: *defconfig |
| 97 | freescale_imx6dlsabreauto_defconfig: *defconfig |
| 98 | freescale_imx6dlsabresd_defconfig: *defconfig |
| 99 | freescale_imx6qsabreauto_defconfig: *defconfig |
| 100 | freescale_imx6qsabresd_defconfig: *defconfig |
| 101 | freescale_imx6sololiteevk_defconfig: *defconfig |
| 102 | freescale_imx6sxsabresd_defconfig: *defconfig |
| 103 | freescale_imx6ulevk_defconfig: *defconfig |
| 104 | freescale_imx7dsabresd_defconfig: *defconfig |
| 105 | freescale_mpc8315erdb_defconfig: *defconfig |
| 106 | freescale_p1010rdb_pa_defconfig: *defconfig |
| 107 | galileo_defconfig: *defconfig |
| 108 | gdb_bfin_bf512_defconfig: *defconfig |
| 109 | grinn_chiliboard_defconfig: *defconfig |
| 110 | grinn_liteboard_defconfig: *defconfig |
| 111 | imx23evk_defconfig: *defconfig |
| 112 | imx6q-sabresd_defconfig: *defconfig |
| 113 | imx6ulpico_defconfig: *defconfig |
| 114 | lego_ev3_defconfig: *defconfig |
| 115 | linksprite_pcduino_defconfig: *defconfig |
| 116 | minnowboard_max-graphical_defconfig: *defconfig |
| 117 | minnowboard_max_defconfig: *defconfig |
| 118 | mx25pdk_defconfig: *defconfig |
| 119 | mx51evk_defconfig: *defconfig |
| 120 | mx53loco_defconfig: *defconfig |
| 121 | mx6cubox_defconfig: *defconfig |
| 122 | mx6sx_udoo_neo_defconfig: *defconfig |
| 123 | mx6udoo_defconfig: *defconfig |
| 124 | nanopi_neo_defconfig: *defconfig |
| 125 | nexbox_a95x_defconfig: *defconfig |
| 126 | nitrogen6sx_defconfig: *defconfig |
| 127 | nitrogen6x_defconfig: *defconfig |
| 128 | nitrogen7_defconfig: *defconfig |
| 129 | odroidc2_defconfig: *defconfig |
| 130 | olimex_a20_olinuxino_lime2_defconfig: *defconfig |
| 131 | olimex_a20_olinuxino_lime_defconfig: *defconfig |
| 132 | olimex_a20_olinuxino_lime_mali_defconfig: *defconfig |
| 133 | olimex_a20_olinuxino_micro_defconfig: *defconfig |
| 134 | olimex_imx233_olinuxino_defconfig: *defconfig |
| 135 | openblocks_a6_defconfig: *defconfig |
| 136 | orangepi_one_defconfig: *defconfig |
| 137 | orangepi_pc_defconfig: *defconfig |
Peter Korsgaard | ca4322a | 2017-06-08 21:25:37 +0200 | [diff] [blame] | 138 | orangepi_zero_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 139 | pandaboard_defconfig: *defconfig |
| 140 | pc_x86_64_bios_defconfig: *defconfig |
| 141 | pc_x86_64_efi_defconfig: *defconfig |
| 142 | qemu_aarch64_virt_defconfig: *defconfig |
| 143 | qemu_arm_versatile_defconfig: *defconfig |
| 144 | qemu_arm_versatile_nommu_defconfig: *defconfig |
| 145 | qemu_arm_vexpress_defconfig: *defconfig |
| 146 | qemu_m68k_mcf5208_defconfig: *defconfig |
| 147 | qemu_m68k_q800_defconfig: *defconfig |
| 148 | qemu_microblazebe_mmu_defconfig: *defconfig |
| 149 | qemu_microblazeel_mmu_defconfig: *defconfig |
| 150 | qemu_mips32r2_malta_defconfig: *defconfig |
| 151 | qemu_mips32r2el_malta_defconfig: *defconfig |
| 152 | qemu_mips32r6_malta_defconfig: *defconfig |
| 153 | qemu_mips32r6el_malta_defconfig: *defconfig |
| 154 | qemu_mips64_malta_defconfig: *defconfig |
| 155 | qemu_mips64el_malta_defconfig: *defconfig |
| 156 | qemu_mips64r6_malta_defconfig: *defconfig |
| 157 | qemu_mips64r6el_malta_defconfig: *defconfig |
| 158 | qemu_nios2_10m50_defconfig: *defconfig |
| 159 | qemu_or1k_defconfig: *defconfig |
| 160 | qemu_ppc64_pseries_defconfig: *defconfig |
| 161 | qemu_ppc_g3beige_defconfig: *defconfig |
| 162 | qemu_ppc_mpc8544ds_defconfig: *defconfig |
| 163 | qemu_ppc_virtex_ml507_defconfig: *defconfig |
| 164 | qemu_sh4_r2d_defconfig: *defconfig |
| 165 | qemu_sh4eb_r2d_defconfig: *defconfig |
| 166 | qemu_sparc64_sun4u_defconfig: *defconfig |
| 167 | qemu_sparc_ss10_defconfig: *defconfig |
| 168 | qemu_x86_64_defconfig: *defconfig |
| 169 | qemu_x86_defconfig: *defconfig |
| 170 | qemu_xtensa_lx60_defconfig: *defconfig |
| 171 | qemu_xtensa_lx60_nommu_defconfig: *defconfig |
| 172 | raspberrypi0_defconfig: *defconfig |
| 173 | raspberrypi2_defconfig: *defconfig |
Thomas Petazzoni | 6520c06 | 2017-05-07 13:42:12 +0200 | [diff] [blame] | 174 | raspberrypi3_64_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 175 | raspberrypi3_defconfig: *defconfig |
| 176 | raspberrypi_defconfig: *defconfig |
| 177 | riotboard_defconfig: *defconfig |
| 178 | roseapplepi_defconfig: *defconfig |
| 179 | s6lx9_microboard_defconfig: *defconfig |
| 180 | sheevaplug_defconfig: *defconfig |
| 181 | snps_aarch64_vdk_defconfig: *defconfig |
Arnout Vandecappelle | 8a8fe86 | 2017-04-15 21:39:40 +0200 | [diff] [blame] | 182 | snps_arc700_axs101_defconfig: *defconfig |
| 183 | snps_archs38_axs103_defconfig: *defconfig |
Thomas Petazzoni | be95978 | 2017-05-14 13:56:38 +0200 | [diff] [blame] | 184 | snps_archs38_haps_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 185 | snps_archs38_vdk_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 186 | stm32f429_disco_defconfig: *defconfig |
| 187 | stm32f469_disco_defconfig: *defconfig |
| 188 | telit_evk_pro3_defconfig: *defconfig |
| 189 | toradex_apalis_imx6_defconfig: *defconfig |
| 190 | ts4800_defconfig: *defconfig |
| 191 | ts4900_defconfig: *defconfig |
| 192 | ts5x00_defconfig: *defconfig |
| 193 | wandboard_defconfig: *defconfig |
| 194 | warp7_defconfig: *defconfig |
| 195 | warpboard_defconfig: *defconfig |
| 196 | zynq_microzed_defconfig: *defconfig |
| 197 | zynq_zc706_defconfig: *defconfig |
| 198 | zynq_zed_defconfig: *defconfig |
| 199 | zynq_zybo_defconfig: *defconfig |