2017-02-13 16:23:03 -07:00
|
|
|
# Configuration for Gitlab-CI.
|
|
|
|
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
|
|
|
# The .gitlab-ci.yml file is generated from .gitlab-ci.yml.in.
|
|
|
|
# It needs to be regenerated every time a defconfig is added, using
|
|
|
|
# "make .gitlab-ci.yml".
|
|
|
|
|
|
|
|
image: debian:stable
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- dpkg --add-architecture i386
|
|
|
|
# The container has no package lists, so need to update first
|
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y -qq --no-install-recommends
|
2017-03-10 05:35:58 -07:00
|
|
|
build-essential locales bc ca-certificates file rsync gcc-multilib
|
2017-02-13 16:23:03 -07:00
|
|
|
git bzr cvs mercurial subversion libc6:i386 unzip wget cpio
|
|
|
|
# To be able to generate a toolchain with locales, enable one UTF-8 locale
|
|
|
|
- sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
|
|
|
|
- /usr/sbin/locale-gen
|
|
|
|
|
|
|
|
.defconfig_script: &defconfig_script
|
|
|
|
- echo 'Configure Buildroot'
|
|
|
|
- make ${CI_BUILD_NAME}
|
|
|
|
- echo 'Build buildroot'
|
|
|
|
- |
|
|
|
|
make > >(tee build.log |grep '>>>') 2>&1 || {
|
|
|
|
echo 'Failed build last output'
|
|
|
|
tail -200 build.log
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
check-gitlab-ci.yml:
|
|
|
|
script:
|
|
|
|
- mv .gitlab-ci.yml .gitlab-ci.yml.orig
|
|
|
|
- make .gitlab-ci.yml
|
|
|
|
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
|
|
|
|
|
2017-06-30 10:42:53 -06:00
|
|
|
check-DEVELOPERS:
|
2017-07-01 12:22:27 -06:00
|
|
|
# get-developers should print just "No action specified"; if it prints
|
|
|
|
# anything else, it's a parse error.
|
|
|
|
# The initial ! is removed by YAML so we need to quote it.
|
2017-06-30 10:42:53 -06:00
|
|
|
script:
|
2017-07-01 12:22:27 -06:00
|
|
|
- "! utils/get-developers | grep -v 'No action specified'"
|
2017-06-30 10:42:53 -06:00
|
|
|
|
2017-02-13 16:23:03 -07:00
|
|
|
.defconfig: &defconfig
|
|
|
|
# Running the defconfigs for every push is too much, so limit to
|
|
|
|
# explicit triggers through the API.
|
|
|
|
only:
|
|
|
|
- triggers
|
|
|
|
- tags
|
|
|
|
script: *defconfig_script
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
expire_in: 2 weeks
|
|
|
|
paths:
|
|
|
|
- build.log
|
|
|
|
- output/images/
|
|
|
|
- output/build/build-time.log
|
|
|
|
- output/build/packages-file-list.txt
|
|
|
|
|
|
|
|
acmesystems_aria_g25_128mb_defconfig: *defconfig
|
|
|
|
acmesystems_aria_g25_256mb_defconfig: *defconfig
|
|
|
|
acmesystems_arietta_g25_128mb_defconfig: *defconfig
|
|
|
|
acmesystems_arietta_g25_256mb_defconfig: *defconfig
|
|
|
|
arcturus_ucp1020_defconfig: *defconfig
|
|
|
|
arm_foundationv8_defconfig: *defconfig
|
|
|
|
arm_juno_defconfig: *defconfig
|
|
|
|
armadeus_apf27_defconfig: *defconfig
|
|
|
|
armadeus_apf28_defconfig: *defconfig
|
|
|
|
armadeus_apf51_defconfig: *defconfig
|
|
|
|
armadeus_apf9328_defconfig: *defconfig
|
|
|
|
at91sam9260eknf_defconfig: *defconfig
|
|
|
|
at91sam9g20dfc_defconfig: *defconfig
|
|
|
|
at91sam9g45m10ek_defconfig: *defconfig
|
|
|
|
at91sam9rlek_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_defconfig: *defconfig
|
2016-11-03 08:08:38 -06:00
|
|
|
at91sam9x5ek_dev_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_mmc_defconfig: *defconfig
|
|
|
|
at91sam9x5ek_mmc_dev_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
atmel_sama5d2_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d2_xplained_mmc_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d3_xplained_mmc_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d3xek_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_dev_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_mmc_defconfig: *defconfig
|
|
|
|
atmel_sama5d4_xplained_mmc_dev_defconfig: *defconfig
|
2017-01-13 11:54:24 -07:00
|
|
|
bananapro_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
beagleboardx15_defconfig: *defconfig
|
|
|
|
beaglebone_defconfig: *defconfig
|
|
|
|
beaglebone_qt5_defconfig: *defconfig
|
|
|
|
chromebook_snow_defconfig: *defconfig
|
|
|
|
ci20_defconfig: *defconfig
|
2017-05-07 05:42:12 -06:00
|
|
|
ci40_defconfig: *defconfig
|
2017-03-06 04:52:32 -07:00
|
|
|
csky_gx6605s_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
cubieboard2_defconfig: *defconfig
|
2017-06-23 06:26:05 -06:00
|
|
|
engicam_imx6qdl_icore_defconfig: *defconfig
|
2017-06-23 06:26:06 -06:00
|
|
|
engicam_imx6qdl_icore_rqs_defconfig: *defconfig
|
2017-06-23 06:26:08 -06:00
|
|
|
engicam_imx6ul_geam_defconfig: *defconfig
|
2017-06-23 06:26:09 -06:00
|
|
|
engicam_imx6ul_isiot_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
firefly_rk3288_defconfig: *defconfig
|
|
|
|
firefly_rk3288_demo_defconfig: *defconfig
|
|
|
|
freescale_imx28evk_defconfig: *defconfig
|
|
|
|
freescale_imx31_3stack_defconfig: *defconfig
|
|
|
|
freescale_imx6dlsabreauto_defconfig: *defconfig
|
|
|
|
freescale_imx6dlsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx6qsabreauto_defconfig: *defconfig
|
|
|
|
freescale_imx6qsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx6sololiteevk_defconfig: *defconfig
|
|
|
|
freescale_imx6sxsabresd_defconfig: *defconfig
|
|
|
|
freescale_imx6ulevk_defconfig: *defconfig
|
|
|
|
freescale_imx7dsabresd_defconfig: *defconfig
|
|
|
|
freescale_mpc8315erdb_defconfig: *defconfig
|
|
|
|
freescale_p1010rdb_pa_defconfig: *defconfig
|
|
|
|
galileo_defconfig: *defconfig
|
|
|
|
gdb_bfin_bf512_defconfig: *defconfig
|
|
|
|
grinn_chiliboard_defconfig: *defconfig
|
|
|
|
grinn_liteboard_defconfig: *defconfig
|
|
|
|
imx23evk_defconfig: *defconfig
|
|
|
|
imx6q-sabresd_defconfig: *defconfig
|
|
|
|
imx6ulpico_defconfig: *defconfig
|
|
|
|
lego_ev3_defconfig: *defconfig
|
|
|
|
linksprite_pcduino_defconfig: *defconfig
|
|
|
|
minnowboard_max-graphical_defconfig: *defconfig
|
|
|
|
minnowboard_max_defconfig: *defconfig
|
|
|
|
mx25pdk_defconfig: *defconfig
|
|
|
|
mx51evk_defconfig: *defconfig
|
|
|
|
mx53loco_defconfig: *defconfig
|
|
|
|
mx6cubox_defconfig: *defconfig
|
|
|
|
mx6sx_udoo_neo_defconfig: *defconfig
|
|
|
|
mx6udoo_defconfig: *defconfig
|
|
|
|
nanopi_neo_defconfig: *defconfig
|
|
|
|
nexbox_a95x_defconfig: *defconfig
|
|
|
|
nitrogen6sx_defconfig: *defconfig
|
|
|
|
nitrogen6x_defconfig: *defconfig
|
|
|
|
nitrogen7_defconfig: *defconfig
|
|
|
|
odroidc2_defconfig: *defconfig
|
2017-06-18 10:28:09 -06:00
|
|
|
olimex_a13_olinuxino_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
olimex_a20_olinuxino_lime2_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_lime_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_lime_mali_defconfig: *defconfig
|
|
|
|
olimex_a20_olinuxino_micro_defconfig: *defconfig
|
|
|
|
olimex_imx233_olinuxino_defconfig: *defconfig
|
|
|
|
openblocks_a6_defconfig: *defconfig
|
|
|
|
orangepi_one_defconfig: *defconfig
|
|
|
|
orangepi_pc_defconfig: *defconfig
|
2017-06-30 19:17:20 -06:00
|
|
|
orangepi_plus_defconfig: *defconfig
|
2017-06-08 13:25:37 -06:00
|
|
|
orangepi_zero_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
pandaboard_defconfig: *defconfig
|
|
|
|
pc_x86_64_bios_defconfig: *defconfig
|
|
|
|
pc_x86_64_efi_defconfig: *defconfig
|
|
|
|
qemu_aarch64_virt_defconfig: *defconfig
|
|
|
|
qemu_arm_versatile_defconfig: *defconfig
|
|
|
|
qemu_arm_versatile_nommu_defconfig: *defconfig
|
|
|
|
qemu_arm_vexpress_defconfig: *defconfig
|
|
|
|
qemu_m68k_mcf5208_defconfig: *defconfig
|
|
|
|
qemu_m68k_q800_defconfig: *defconfig
|
|
|
|
qemu_microblazebe_mmu_defconfig: *defconfig
|
|
|
|
qemu_microblazeel_mmu_defconfig: *defconfig
|
|
|
|
qemu_mips32r2_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r2el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r6_malta_defconfig: *defconfig
|
|
|
|
qemu_mips32r6el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64el_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64r6_malta_defconfig: *defconfig
|
|
|
|
qemu_mips64r6el_malta_defconfig: *defconfig
|
|
|
|
qemu_nios2_10m50_defconfig: *defconfig
|
|
|
|
qemu_or1k_defconfig: *defconfig
|
|
|
|
qemu_ppc64_pseries_defconfig: *defconfig
|
|
|
|
qemu_ppc_g3beige_defconfig: *defconfig
|
|
|
|
qemu_ppc_mpc8544ds_defconfig: *defconfig
|
|
|
|
qemu_ppc_virtex_ml507_defconfig: *defconfig
|
|
|
|
qemu_sh4_r2d_defconfig: *defconfig
|
|
|
|
qemu_sh4eb_r2d_defconfig: *defconfig
|
|
|
|
qemu_sparc64_sun4u_defconfig: *defconfig
|
|
|
|
qemu_sparc_ss10_defconfig: *defconfig
|
|
|
|
qemu_x86_64_defconfig: *defconfig
|
|
|
|
qemu_x86_defconfig: *defconfig
|
|
|
|
qemu_xtensa_lx60_defconfig: *defconfig
|
|
|
|
qemu_xtensa_lx60_nommu_defconfig: *defconfig
|
|
|
|
raspberrypi0_defconfig: *defconfig
|
|
|
|
raspberrypi2_defconfig: *defconfig
|
2017-05-07 05:42:12 -06:00
|
|
|
raspberrypi3_64_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
raspberrypi3_defconfig: *defconfig
|
|
|
|
raspberrypi_defconfig: *defconfig
|
|
|
|
riotboard_defconfig: *defconfig
|
|
|
|
roseapplepi_defconfig: *defconfig
|
|
|
|
s6lx9_microboard_defconfig: *defconfig
|
|
|
|
sheevaplug_defconfig: *defconfig
|
|
|
|
snps_aarch64_vdk_defconfig: *defconfig
|
2017-04-15 13:39:40 -06:00
|
|
|
snps_arc700_axs101_defconfig: *defconfig
|
|
|
|
snps_archs38_axs103_defconfig: *defconfig
|
2017-05-14 05:56:38 -06:00
|
|
|
snps_archs38_haps_defconfig: *defconfig
|
2017-02-13 16:23:03 -07:00
|
|
|
snps_archs38_vdk_defconfig: *defconfig
|
|
|
|
stm32f429_disco_defconfig: *defconfig
|
|
|
|
stm32f469_disco_defconfig: *defconfig
|
|
|
|
telit_evk_pro3_defconfig: *defconfig
|
|
|
|
toradex_apalis_imx6_defconfig: *defconfig
|
|
|
|
ts4800_defconfig: *defconfig
|
|
|
|
ts4900_defconfig: *defconfig
|
|
|
|
ts5x00_defconfig: *defconfig
|
|
|
|
wandboard_defconfig: *defconfig
|
|
|
|
warp7_defconfig: *defconfig
|
|
|
|
warpboard_defconfig: *defconfig
|
|
|
|
zynq_microzed_defconfig: *defconfig
|
|
|
|
zynq_zc706_defconfig: *defconfig
|
|
|
|
zynq_zed_defconfig: *defconfig
|
|
|
|
zynq_zybo_defconfig: *defconfig
|