Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}
Loading