Skip to content

Commit 5053ae8

Browse files
committed
ubuntu24.04 precompile support
Signed-off-by: shiva kumar <[email protected]>
1 parent 1a54461 commit 5053ae8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/precompiled.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ jobs:
221221
echo "Skipping e2e tests"
222222
exit 0
223223
fi
224+
# Remove duplicates
225+
KERNEL_VERSIONS=($(printf "%s\n" "${KERNEL_VERSIONS[@]}" | sort -u))
224226
for i in "${!KERNEL_VERSIONS[@]}"; do
225227
KERNEL_VERSIONS[$i]="${KERNEL_VERSIONS[$i]}-$DIST"
226228
done

tests/scripts/ci-precompiled-helpers.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ get_kernel_versions_to_test() {
1111

1212
kernel_versions=()
1313
for kernel_flavor in "${KERNEL_FLAVORS[@]}"; do
14-
echo "SHIVA $kernel_flavor"
14+
if [[ "$DIST" == "ubuntu24.04" && "$kernel_flavor" == "nvidia" ]]; then
15+
kernel_flavor="nvidia-lowlatency"
16+
fi
1517
for DRIVER_BRANCH in "${DRIVER_BRANCHES[@]}"; do
1618
source ./tests/scripts/findkernelversion.sh "$BASE_TARGET" "${kernel_flavor}" "$DRIVER_BRANCH" "$DIST" >&2
1719
if [[ "$should_continue" == true ]]; then

0 commit comments

Comments
 (0)