Skip to content

Commit 1a54461

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

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/precompiled.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ jobs:
213213
done))
214214
fi
215215
source ./tests/scripts/ci-precompiled-helpers.sh
216+
echo "SHIVAAAAAAAA ${KERNEL_FLAVORS[@]}"
216217
KERNEL_VERSIONS=($(get_kernel_versions_to_test $BASE_TARGET KERNEL_FLAVORS[@] DRIVER_BRANCHES[@] $DIST))
217218
echo "SHIVAAAA ${KERNEL_VERSIONS[@]}"
218219
if [ -z "$KERNEL_VERSIONS" ]; then

tests/scripts/ci-precompiled-helpers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ get_kernel_versions_to_test() {
1111

1212
kernel_versions=()
1313
for kernel_flavor in "${KERNEL_FLAVORS[@]}"; do
14+
echo "SHIVA $kernel_flavor"
1415
for DRIVER_BRANCH in "${DRIVER_BRANCHES[@]}"; do
1516
source ./tests/scripts/findkernelversion.sh "$BASE_TARGET" "${kernel_flavor}" "$DRIVER_BRANCH" "$DIST" >&2
1617
if [[ "$should_continue" == true ]]; then
@@ -19,6 +20,7 @@ get_kernel_versions_to_test() {
1920
done
2021
if [[ "$should_continue" == true ]]; then
2122
KERNEL_VERSION=$(echo "$KERNEL_VERSION" | tr -d ' \n')
23+
echo "SHIVA $kernel_flavor $KERNEL_VERSION"
2224
kernel_versions+=("$KERNEL_VERSION")
2325
fi
2426
done

tests/scripts/findkernelversion.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ else
2929
artifacts=$(gh api -X GET /repos/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/artifacts --jq '.artifacts[].name')
3030
# Use a loop or a pattern to find the matching artifact dynamically
3131
for artifact in $artifacts; do
32+
echo "SHIVA=1 $artifact "
3233
if [[ $artifact == $prefix*-$suffix ]]; then
3334
gh run download --name "$artifact" --dir ./
3435
tar -xf $artifact.tar
3536
rm -f $artifact.tar
3637
export $(grep -oP 'KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
38+
echo "SHIVA=1 $KERNEL_VERSION "
3739
rm -f kernel_version.txt
3840
break
3941
fi

0 commit comments

Comments
 (0)