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 |
| 14 | build-essential locales bc ca-certificates file rsync |
| 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 |
| 69 | atmel_sama5d2_xplained_mmc_defconfig: *defconfig |
| 70 | atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig |
| 71 | atmel_sama5d3_xplained_defconfig: *defconfig |
| 72 | atmel_sama5d3_xplained_dev_defconfig: *defconfig |
| 73 | atmel_sama5d3_xplained_mmc_defconfig: *defconfig |
| 74 | atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig |
| 75 | atmel_sama5d3xek_defconfig: *defconfig |
| 76 | atmel_sama5d4_xplained_defconfig: *defconfig |
| 77 | atmel_sama5d4_xplained_dev_defconfig: *defconfig |
| 78 | atmel_sama5d4_xplained_mmc_defconfig: *defconfig |
| 79 | atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig |
Jörg Krause | 0ad1067 | 2017-01-13 19:54:24 +0100 | [diff] [blame^] | 80 | bananapro_defconfig: *defconfig |
Arnout Vandecappelle | 4f863d7 | 2017-02-14 00:23:03 +0100 | [diff] [blame] | 81 | beagleboardx15_defconfig: *defconfig |
| 82 | beaglebone_defconfig: *defconfig |
| 83 | beaglebone_qt5_defconfig: *defconfig |
| 84 | chromebook_snow_defconfig: *defconfig |
| 85 | ci20_defconfig: *defconfig |
| 86 | cubieboard2_defconfig: *defconfig |
| 87 | firefly_rk3288_defconfig: *defconfig |
| 88 | firefly_rk3288_demo_defconfig: *defconfig |
| 89 | freescale_imx28evk_defconfig: *defconfig |
| 90 | freescale_imx31_3stack_defconfig: *defconfig |
| 91 | freescale_imx6dlsabreauto_defconfig: *defconfig |
| 92 | freescale_imx6dlsabresd_defconfig: *defconfig |
| 93 | freescale_imx6qsabreauto_defconfig: *defconfig |
| 94 | freescale_imx6qsabresd_defconfig: *defconfig |
| 95 | freescale_imx6sololiteevk_defconfig: *defconfig |
| 96 | freescale_imx6sxsabresd_defconfig: *defconfig |
| 97 | freescale_imx6ulevk_defconfig: *defconfig |
| 98 | freescale_imx7dsabresd_defconfig: *defconfig |
| 99 | freescale_mpc8315erdb_defconfig: *defconfig |
| 100 | freescale_p1010rdb_pa_defconfig: *defconfig |
| 101 | galileo_defconfig: *defconfig |
| 102 | gdb_bfin_bf512_defconfig: *defconfig |
| 103 | grinn_chiliboard_defconfig: *defconfig |
| 104 | grinn_liteboard_defconfig: *defconfig |
| 105 | imx23evk_defconfig: *defconfig |
| 106 | imx6q-sabresd_defconfig: *defconfig |
| 107 | imx6ulpico_defconfig: *defconfig |
| 108 | lego_ev3_defconfig: *defconfig |
| 109 | linksprite_pcduino_defconfig: *defconfig |
| 110 | minnowboard_max-graphical_defconfig: *defconfig |
| 111 | minnowboard_max_defconfig: *defconfig |
| 112 | mx25pdk_defconfig: *defconfig |
| 113 | mx51evk_defconfig: *defconfig |
| 114 | mx53loco_defconfig: *defconfig |
| 115 | mx6cubox_defconfig: *defconfig |
| 116 | mx6sx_udoo_neo_defconfig: *defconfig |
| 117 | mx6udoo_defconfig: *defconfig |
| 118 | nanopi_neo_defconfig: *defconfig |
| 119 | nexbox_a95x_defconfig: *defconfig |
| 120 | nitrogen6sx_defconfig: *defconfig |
| 121 | nitrogen6x_defconfig: *defconfig |
| 122 | nitrogen7_defconfig: *defconfig |
| 123 | odroidc2_defconfig: *defconfig |
| 124 | olimex_a20_olinuxino_lime2_defconfig: *defconfig |
| 125 | olimex_a20_olinuxino_lime_defconfig: *defconfig |
| 126 | olimex_a20_olinuxino_lime_mali_defconfig: *defconfig |
| 127 | olimex_a20_olinuxino_micro_defconfig: *defconfig |
| 128 | olimex_imx233_olinuxino_defconfig: *defconfig |
| 129 | openblocks_a6_defconfig: *defconfig |
| 130 | orangepi_one_defconfig: *defconfig |
| 131 | orangepi_pc_defconfig: *defconfig |
| 132 | pandaboard_defconfig: *defconfig |
| 133 | pc_x86_64_bios_defconfig: *defconfig |
| 134 | pc_x86_64_efi_defconfig: *defconfig |
| 135 | qemu_aarch64_virt_defconfig: *defconfig |
| 136 | qemu_arm_versatile_defconfig: *defconfig |
| 137 | qemu_arm_versatile_nommu_defconfig: *defconfig |
| 138 | qemu_arm_vexpress_defconfig: *defconfig |
| 139 | qemu_m68k_mcf5208_defconfig: *defconfig |
| 140 | qemu_m68k_q800_defconfig: *defconfig |
| 141 | qemu_microblazebe_mmu_defconfig: *defconfig |
| 142 | qemu_microblazeel_mmu_defconfig: *defconfig |
| 143 | qemu_mips32r2_malta_defconfig: *defconfig |
| 144 | qemu_mips32r2el_malta_defconfig: *defconfig |
| 145 | qemu_mips32r6_malta_defconfig: *defconfig |
| 146 | qemu_mips32r6el_malta_defconfig: *defconfig |
| 147 | qemu_mips64_malta_defconfig: *defconfig |
| 148 | qemu_mips64el_malta_defconfig: *defconfig |
| 149 | qemu_mips64r6_malta_defconfig: *defconfig |
| 150 | qemu_mips64r6el_malta_defconfig: *defconfig |
| 151 | qemu_nios2_10m50_defconfig: *defconfig |
| 152 | qemu_or1k_defconfig: *defconfig |
| 153 | qemu_ppc64_pseries_defconfig: *defconfig |
| 154 | qemu_ppc_g3beige_defconfig: *defconfig |
| 155 | qemu_ppc_mpc8544ds_defconfig: *defconfig |
| 156 | qemu_ppc_virtex_ml507_defconfig: *defconfig |
| 157 | qemu_sh4_r2d_defconfig: *defconfig |
| 158 | qemu_sh4eb_r2d_defconfig: *defconfig |
| 159 | qemu_sparc64_sun4u_defconfig: *defconfig |
| 160 | qemu_sparc_ss10_defconfig: *defconfig |
| 161 | qemu_x86_64_defconfig: *defconfig |
| 162 | qemu_x86_defconfig: *defconfig |
| 163 | qemu_xtensa_lx60_defconfig: *defconfig |
| 164 | qemu_xtensa_lx60_nommu_defconfig: *defconfig |
| 165 | raspberrypi0_defconfig: *defconfig |
| 166 | raspberrypi2_defconfig: *defconfig |
| 167 | raspberrypi3_defconfig: *defconfig |
| 168 | raspberrypi_defconfig: *defconfig |
| 169 | riotboard_defconfig: *defconfig |
| 170 | roseapplepi_defconfig: *defconfig |
| 171 | s6lx9_microboard_defconfig: *defconfig |
| 172 | sheevaplug_defconfig: *defconfig |
| 173 | snps_aarch64_vdk_defconfig: *defconfig |
| 174 | snps_archs38_vdk_defconfig: *defconfig |
| 175 | snps_archs38_zebu_defconfig: *defconfig |
| 176 | snps_axs101_defconfig: *defconfig |
| 177 | snps_axs103_defconfig: *defconfig |
| 178 | stm32f429_disco_defconfig: *defconfig |
| 179 | stm32f469_disco_defconfig: *defconfig |
| 180 | telit_evk_pro3_defconfig: *defconfig |
| 181 | toradex_apalis_imx6_defconfig: *defconfig |
| 182 | ts4800_defconfig: *defconfig |
| 183 | ts4900_defconfig: *defconfig |
| 184 | ts5x00_defconfig: *defconfig |
| 185 | wandboard_defconfig: *defconfig |
| 186 | warp7_defconfig: *defconfig |
| 187 | warpboard_defconfig: *defconfig |
| 188 | zynq_microzed_defconfig: *defconfig |
| 189 | zynq_zc706_defconfig: *defconfig |
| 190 | zynq_zed_defconfig: *defconfig |
| 191 | zynq_zybo_defconfig: *defconfig |