Skip to content

Commit

Permalink
GitHub actions: Added runners for building with CUDA 12.5.1 and 12.6.…
Browse files Browse the repository at this point in the history
…0 (on Linux, building those both with ubuntu 20.04 and 24.04)
  • Loading branch information
eyalroz committed Sep 23, 2024
1 parent 808f89f commit a759b4e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/action-scripts/install-cuda-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ CUDA_PACKAGES_IN=(
"nvcc"
"profiler-api"
"libnvfatbin"
"libnvfatbin-dev"
)

## -------------------
Expand Down
2 changes: 2 additions & 0 deletions .github/action-scripts/install-cuda-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ $CUDA_KNOWN_URLS = @{
"12.3.0" = "https://developer.download.nvidia.com/compute/cuda/12.3.0/network_installers/cuda_12.3.0_windows_network.exe";
"12.3.1" = "https://developer.download.nvidia.com/compute/cuda/12.3.1/network_installers/cuda_12.3.1_windows_network.exe";
"12.4.1" = "https://developer.download.nvidia.com/compute/cuda/12.4.1/network_installers/cuda_12.4.1_windows_network.exe";
"12.5.1" = "https://developer.download.nvidia.com/compute/cuda/12.5.1/network_installers/cuda_12.5.1_windows_network.exe";
"12.6.0" = "https://developer.download.nvidia.com/compute/cuda/12.6.0/network_installers/cuda_12.6.0_windows_network.exe";
}

# @todo - change this to be based on _MSC_VER intead, or invert it to be CUDA keyed instead?
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/cmake-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,26 @@ jobs:
# explicit include-based build matrix, of known valid options
matrix:
include:
- os: ubuntu-24.04
cuda: "12.6.0"
gcc: 13
shell: "bash"
cmake-generator: "Unix Makefiles"
- os: ubuntu-24.04
cuda: "12.5.1"
gcc: 13
shell: "bash"
cmake-generator: "Unix Makefiles"
- os: ubuntu-20.04
cuda: "12.6.0"
gcc: 10
shell: "bash"
cmake-generator: "Unix Makefiles"
- os: ubuntu-20.04
cuda: "12.5.1"
gcc: 10
shell: "bash"
cmake-generator: "Unix Makefiles"
- os: ubuntu-20.04
cuda: "12.4.1"
gcc: 10
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/cmake-build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ jobs:
matrix:
include:
# Windows2019 & VS 2019 supports 10.1+
- os: windows-2019
cuda: "12.6.0"
visual-studio: "Visual Studio 16 2019"
shell: "powershell"
os-type: "windows"
cmake-platform-flag: "-A x64"
- os: windows-2019
cuda: "12.5.1"
visual-studio: "Visual Studio 16 2019"
shell: "powershell"
os-type: "windows"
cmake-platform-flag: "-A x64"
- os: windows-2019
cuda: "12.4.1"
visual-studio: "Visual Studio 16 2019"
Expand Down

0 comments on commit a759b4e

Please sign in to comment.