Skip to content

Commit ff8d161

Browse files
committed
[github-ci] enable CI pipelines for ubuntu24.04 precompiled drivers
Signed-off-by: Tariq Ibrahim <[email protected]>
1 parent b0a1883 commit ff8d161

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/image.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ jobs:
105105
- generic
106106
- nvidia
107107
- oracle
108+
dist:
109+
- ubuntu22.04
110+
- ubuntu24.04
108111
ispr:
109112
- ${{github.event_name == 'pull_request'}}
110113
exclude:
@@ -116,6 +119,8 @@ jobs:
116119
flavor: nvidia
117120
- ispr: true
118121
flavor: oracle
122+
- driver: 535
123+
dist: ubuntu24.04
119124
steps:
120125
- uses: actions/checkout@v4
121126
name: Check out code
@@ -153,8 +158,12 @@ jobs:
153158
env:
154159
IMAGE_NAME: ghcr.io/${LOWERCASE_REPO_OWNER}/driver
155160
VERSION: ${COMMIT_SHORT_SHA}
156-
BASE_TARGET: jammy
157161
run: |
162+
if [[ "${{ matrix.dist }}" == "ubuntu22.04" ]]; then
163+
BASE_TARGET="jammy"
164+
elif [[ "${{ matrix.dist }}" == "ubuntu24.04" ]]; then
165+
BASE_TARGET="noble"
166+
fi
158167
make DRIVER_BRANCH=${{ matrix.driver }} KERNEL_FLAVOR=${{ matrix.flavor }} build-base-${BASE_TARGET}
159168
160169
trap "docker rm -f base-${BASE_TARGET}-${{ matrix.flavor }}" EXIT
@@ -169,7 +178,7 @@ jobs:
169178
IMAGE_NAME: ghcr.io/${LOWERCASE_REPO_OWNER}/driver
170179
VERSION: ${COMMIT_SHORT_SHA}
171180
PRECOMPILED: "true"
172-
DIST: signed_ubuntu22.04
181+
DIST: signed_${{ matrix.dist }}
173182
run: |
174183
source kernel_version.txt && \
175184
make DRIVER_VERSIONS=${DRIVER_VERSIONS} DRIVER_BRANCH=${{ matrix.driver }} build-${DIST}-${DRIVER_VERSION}

0 commit comments

Comments
 (0)