Skip to content

Commit

Permalink
[ci] show skipped builds
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Nov 23, 2023
1 parent 4290e17 commit fdc753f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/kmod-compatibility-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
failed=""
succeeded=""
skipped=""
for kver in /lib/modules/*/build; do
test -d $kver || continue
kver=${kver%/build}
Expand All @@ -71,13 +72,15 @@ jobs:
case " ${JOB_KNOWN_FAILURES} " in
*" ${kver%.*} "*)
echo "#### Skipped known failure ${kver}";
skipped="${skipped} ${kver}";
;;
*)
if grep -qE "^(CONFIG_VIDEO_DEV|CONFIG_VIDEO_V4L2)=" "${kver}/.config"; then
echo "#### Unexpected failure ${kver}";
failed="${failed} ${kver}";
else
echo "#### Skipped failure ${kver} (no v4l2 support)";
skipped="${skipped} ${kver}";
fi;
;;
esac;
Expand All @@ -88,4 +91,7 @@ jobs:
echo "#### Failed kernels: ${failed}";
exit 1
fi
if [ "x${skipped}" != "x" ]; then
echo "#### Skipped kernels: ${skipped}";
fi
echo "#### Successful builds for kernels: ${succeeded}";

0 comments on commit fdc753f

Please sign in to comment.