From be87367247a9d7cf7b9ed913289af9946c11243a Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Fri, 15 Sep 2023 11:28:53 +0200 Subject: [PATCH] ci: Allow kernel series and version latest to fail. --- .github/workflows/linux-build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 1e3d369a..1005f111 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -59,7 +59,12 @@ jobs: make -C kernel CC=${CC:=gcc} modules_prepare - name: Build run: | - make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + if [[ "${KSER}" != "latest" ]]; then + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + else + # Remove the latest from the error generation + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" || exit 1 + fi host: name: With VM host