Commit d9e1e71d authored by Guido Gunther's avatar Guido Gunther Committed by Martin Kepplinger

gitlab-ci: Use Werror for the cross build

We allow the build to fail since we're mostly interested in
the debs but this should alert us when builds throw errors.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent b4be99f3
Pipeline #62409 passed with stage
in 62 minutes and 40 seconds
......@@ -19,11 +19,12 @@ before_script:
build:aarch64:
<<: *tags
stage: build
allow_failure: true
variables:
CROSS_BUILD: "ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-"
script:
- make ${CROSS_BUILD} librem5_defconfig
- make -j 4 ${CROSS_BUILD} Image dtbs modules
- KCFLAGS="-Werror" make -j 4 ${CROSS_BUILD} Image dtbs modules
- make -j 4 ${CROSS_BUILD} INSTALL_MOD_PATH=modules/ modules_install
artifacts:
paths:
......
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