Commit b1ed597d authored by Antony Pavlov's avatar Antony Pavlov
Browse files

introduce gitlab-ci



Signed-off-by: Antony Pavlov's avatarAntony Pavlov <antonynpavlov@gmail.com>
parent 6a1bd66e
# SPDX-License-Identifier: GPL-2.0-only
# Gitlab CI runner setup instruction and
# the source for docker image can be found at:
# https://gitlab.com/frantony/barebox-gitlab-ci-runner
stages:
- build
variables:
JOBS: "-j4"
build docs:
stage: build
artifacts:
paths:
- Documentation/html/
script:
- make docs
build sandbox:
stage: build
artifacts:
paths:
- log/
script:
- ./MAKEALL -a sandbox $JOBS
build ARM:
stage: build
artifacts:
paths:
- log/
script:
# Fake binary images
# see also Documentation/boards/imx/nxp-imx8m*-evk.rst
- touch arch/arm/boards/globalscale-mirabox/binary.0
- touch arch/arm/boards/lenovo-ix4-300d/binary.0
- touch arch/arm/boards/marvell-armada-xp-db/binary.0
- touch arch/arm/boards/marvell-armada-xp-gp/binary.0
- touch arch/arm/boards/netgear-rn104/binary.0
- touch arch/arm/boards/netgear-rn2120/binary.0
- touch arch/arm/boards/pine64-quartz64/sdram-init.bin
- touch arch/arm/boards/plathome-openblocks-ax3/binary.0
- touch arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin
- touch arch/arm/boards/turris-omnia/binary.0
- touch firmware/ddr4_dmem_1d.bin
- touch firmware/ddr4_dmem_2d.bin
- touch firmware/ddr4_imem_1d.bin
- touch firmware/ddr4_imem_2d.bin
- touch firmware/fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
- touch firmware/imx8mm-bl31.bin
- touch firmware/imx8mp-bl31.bin
- touch firmware/imx8mq-bl31.bin
- touch firmware/lpddr4_pmu_train_1d_dmem.bin
- touch firmware/lpddr4_pmu_train_1d_imem.bin
- touch firmware/lpddr4_pmu_train_2d_dmem.bin
- touch firmware/lpddr4_pmu_train_2d_imem.bin
- touch firmware/ppa-ls1046a.bin
- touch firmware/rk3568-bl31.bin
- CROSS_COMPILE=arm-linux-gnueabi- CROSS_COMPILE_imx_v8_defconfig=aarch64-linux-gnu- CROSS_COMPILE_layerscape_defconfig=aarch64-linux-gnu- CROSS_COMPILE_qemu_virt64_defconfig=aarch64-linux-gnu- CROSS_COMPILE_rockchip_v8_defconfig=aarch64-linux-gnu- CROSS_COMPILE_zynqmp_defconfig=aarch64-linux-gnu- ./MAKEALL -a arm $JOBS
build MIPS:
stage: build
artifacts:
paths:
- log/
script:
- CROSS_COMPILE=mips-linux-gnu- ./MAKEALL -a mips $JOBS
build RISC-V:
stage: build
artifacts:
paths:
- log/
script:
- CROSS_COMPILE=riscv64-linux-gnu- ./MAKEALL -a riscv $JOBS
build X86:
stage: build
artifacts:
paths:
- log/
script:
- CROSS_COMPILE=x86_64-linux-gnu- ./MAKEALL -a x86 $JOBS
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment