Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use NVIDIA CUDA 12.0.0 development image with Ubuntu 18.04 as the base
FROM nvidia/cuda:11.4.3-devel-ubuntu18.04
FROM nvidia/cuda:11.7.1-devel-ubuntu18.04

ARG RUNNER_VERSION=2.298.2
ARG RUNNER_VERSION=2.311.0
# Docker and Docker Compose arguments

# Use 1001 and 121 for compatibility with GitHub-hosted runners
Expand Down Expand Up @@ -95,8 +95,8 @@ ADD start.sh start.sh

RUN chmod +x start.sh

# Add /usr/local/cuda-11.4/compat to LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/cuda-11.4/compat${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
# Add /usr/local/cuda-11.7/compat to LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/cuda-11.7/compat${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

USER runner

Expand Down
2 changes: 1 addition & 1 deletion .github/runners/actions-runner-ubuntu-cuda-12-0.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Use NVIDIA CUDA 12.0.0 development image with Ubuntu 18.04 as the base
FROM nvidia/cuda:12.0.0-devel-ubuntu18.04

ARG RUNNER_VERSION=2.298.2
ARG RUNNER_VERSION=2.311.0
# Docker and Docker Compose arguments

# Use 1001 and 121 for compatibility with GitHub-hosted runners
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/windows/server:ltsc2022

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';$ProgressPreference='silentlyContinue';"]

ARG RUNNER_VERSION=2.298.2
ARG RUNNER_VERSION=2.311.0

RUN Invoke-WebRequest \
-Uri 'https://aka.ms/install-powershell.ps1' \
Expand Down Expand Up @@ -39,11 +39,11 @@ RUN choco install visualstudio2019buildtools -y --package-parameters '"--add Mic

RUN choco install gzip -y;

# Install cuda toolkit 11.4.4
RUN choco install cuda --version=11.4.2.47141 -y
# Install cuda toolkit 11.7.4
RUN choco install cuda --version=11.7.1.51694 -y

# Copy integrated tools to MSBuild
RUN Copy-Item -Path 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\extras\visual_studio_integration\MSBuildExtensions\*' -Destination 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\BuildCustomizations'
RUN Copy-Item -Path 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\extras\visual_studio_integration\MSBuildExtensions\*' -Destination 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\BuildCustomizations'


ADD runner.ps1 C:/runner.ps1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/windows/server:ltsc2022

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';$ProgressPreference='silentlyContinue';"]

ARG RUNNER_VERSION=2.298.2
ARG RUNNER_VERSION=2.311.0

RUN Invoke-WebRequest \
-Uri 'https://aka.ms/install-powershell.ps1' \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
echo "Version: $NEW_VERSION"

ubuntu-amd64-build:
runs-on: ubuntu-18-04-cuda-11-4
runs-on: ubuntu-18-04-cuda-11-7
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
permissions:
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
contents: write
strategy:
matrix:
cuda: ["12-0", "11-4"]
cuda: ["12-0", "11-7"]

steps:
- name: Clone
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
asset_content_type: application/gzip

windows-amd64-build:
runs-on: windows-cuda-11-4
runs-on: windows-cuda-11-7
needs: [create-draft-release, set-nitro-version]
if: always() && (needs.create-draft-release.result == 'success' || needs.create-draft-release.result == 'skipped') && needs.set-nitro-version.result == 'success'
permissions:
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:

strategy:
matrix:
cuda: ["12-0", "11-4"]
cuda: ["12-0", "11-7"]

steps:
- name: Setup VSWhere.exe
Expand Down