Commit fd7a2bbe authored by Guido Gunther's avatar Guido Gunther

gitlab-ci: Build a deb as well

gitlab won't fetch artifacts from outside the tree so copy back the
built deb.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 826e664c
variables: variables:
DEPS: > DEPS: >
build-essential gcc-aarch64-linux-gnu make device-tree-compiler build-essential gcc-aarch64-linux-gnu make device-tree-compiler
bison flex bc libssl-dev bison flex bc libssl-dev kmod cpio
CROSS_BUILD: "ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-"
before_script: before_script:
- export DEBIAN_FRONTEND=noninteractive - export DEBIAN_FRONTEND=noninteractive
...@@ -12,7 +13,7 @@ before_script: ...@@ -12,7 +13,7 @@ before_script:
tags: tags:
- librem5 - librem5
build:aarch64: build:aarch64:Image:
<<: *tags <<: *tags
stage: build stage: build
variables: variables:
...@@ -28,3 +29,16 @@ build:aarch64: ...@@ -28,3 +29,16 @@ build:aarch64:
- arch/arm64/boot/dts/freescale/librem5-evk.dtb - arch/arm64/boot/dts/freescale/librem5-evk.dtb
- modules/ - modules/
expire_in: 1 week expire_in: 1 week
build:aarch64:deb:
<<: *tags
stage: build
script:
- make ${CROSS_BUILD} librem5-evk_defconfig
- make -j 4 ${CROSS_BUILD} bindeb-pkg
- rm ../linux-image-*-dbg*_arm64.deb
- mv ../*.deb .
artifacts:
paths:
- "*.deb"
expire_in: 1 week
Markdown is supported
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