Skip to content

Commit

Permalink
[github-ci] enable CI pipelines for ubuntu24.04 precompiled drivers
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <[email protected]>
  • Loading branch information
tariq1890 committed Jan 10, 2025
1 parent b0a1883 commit c368199
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
- generic
- nvidia
- oracle
dist:
- ubuntu22.04
- ubuntu24.04
ispr:
- ${{github.event_name == 'pull_request'}}
exclude:
Expand All @@ -116,6 +119,8 @@ jobs:
flavor: nvidia
- ispr: true
flavor: oracle
- driver: 535
dist: ubuntu24.04
steps:
- uses: actions/checkout@v4
name: Check out code
Expand Down Expand Up @@ -153,9 +158,15 @@ jobs:
env:
IMAGE_NAME: ghcr.io/${LOWERCASE_REPO_OWNER}/driver
VERSION: ${COMMIT_SHORT_SHA}
BASE_TARGET: jammy
run: |
make DRIVER_BRANCH=${{ matrix.driver }} KERNEL_FLAVOR=${{ matrix.flavor }} build-base-${BASE_TARGET}
if [[ "${{ matrix.dist }}" == "ubuntu22.04" ]]; then
BASE_TARGET="jammy"
LTS_KERNEL="5.15"
elif [[ "${{ matrix.dist }}" == "ubuntu24.04" ]]; then
BASE_TARGET="noble"
LTS_KERNEL="6.8"
fi
make DRIVER_BRANCH=${{ matrix.driver }} KERNEL_FLAVOR=${{ matrix.flavor }} LTS_KERNEL=${LTS_KERNEL} build-base-${BASE_TARGET}
trap "docker rm -f base-${BASE_TARGET}-${{ matrix.flavor }}" EXIT
docker run -d --name base-${BASE_TARGET}-${{ matrix.flavor }} ghcr.io/nvidia/driver:base-${BASE_TARGET}-${{ matrix.flavor }}-${{ matrix.driver }}
Expand All @@ -169,7 +180,7 @@ jobs:
IMAGE_NAME: ghcr.io/${LOWERCASE_REPO_OWNER}/driver
VERSION: ${COMMIT_SHORT_SHA}
PRECOMPILED: "true"
DIST: signed_ubuntu22.04
DIST: signed_${{ matrix.dist }}
run: |
source kernel_version.txt && \
make DRIVER_VERSIONS=${DRIVER_VERSIONS} DRIVER_BRANCH=${{ matrix.driver }} build-${DIST}-${DRIVER_VERSION}

0 comments on commit c368199

Please sign in to comment.