From a763daaa60629189a2e5598cac29be75b3199aee 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 1e3d369ae..0ff316bd6 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 workflow status + make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" || true + fi host: name: With VM host