Skip to content

Commit

Permalink
chore(ci): fix some kmod build failures (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Apr 4, 2024
1 parent 09137c9 commit e32898d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
nvidia_version: 550
- cfile_suffix: nvidia
nvidia_version: 0
- kernel_flavor: 6.7.9-207.fsync
fedora_version: 38
- cfile_suffix: nvidia
fedora_version: 39
kernel_flavor: asus
nvidia_version: 470 # nvidia 470 no longer builds on 6.8 asus kernel
- kernel_flavor: asus
fedora_version: 38
- kernel_flavor: surface
Expand All @@ -56,8 +58,10 @@ jobs:
nvidia_version: 470
- fedora_version: 40
nvidia_version: 470 # rpmfusion packages nvidia 470 for F40 but won't compile yet.
- fedora_version: 38
kernel_flavor: fsync # kernel-fsync not required for ublue-os F38
- fedora_version: 40
kernel_flavor: 6.7.9-207.fsync # kernel-fsync packages are not being built for F40 yet.
kernel_flavor: fsync # kernel-fsync packages are not being built for F40 yet.

steps:
# Checkout push-to-registry action GitHub repository
Expand Down
4 changes: 2 additions & 2 deletions build-kmod-v4l2loopback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"

if [[ "${KERNEL_FLAVOR}" =~ "surface" ]]; then
echo "SKIPPED BUILD of v4l2loopback: compile failure on surface kernel as of 2024-03-27"
if [[ "${RELEASE}" -eq "39" ]] && [[ "${KERNEL_FLAVOR}" != "main" ]]; then
echo "SKIPPED BUILD of v4l2loopback: compile failure on F39 w/ 6.8 kernels as of 2024-03-27"
exit 0
fi

Expand Down

0 comments on commit e32898d

Please sign in to comment.