Skip to content

Commit

Permalink
Put the cuda CI out of scope for now
Browse files Browse the repository at this point in the history
  • Loading branch information
LLukas22 committed Jul 6, 2023
1 parent 7a6f19b commit 0605673
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,39 +60,39 @@ jobs:
- name: Build
run: cargo build --verbose --features metal

cuda:
name: Build with cuda support
strategy:
# Don't stop building if it fails on an OS
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: Jimver/cuda-toolkit@v0.2.10
if: matrix.os == 'ubuntu-latest'
id: cuda-toolkit-linux
with:
cuda: '12.1.0'
method: 'network'
#See e.g. https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/
sub-packages: '["nvcc","compiler","libraries","libraries-dev","cudart","cudart-dev","libcublas","libcublas-dev"]'
- uses: Jimver/cuda-toolkit@v0.2.10
if: matrix.os == 'windows-latest'
id: cuda-toolkit-windows
with:
cuda: '12.1.0'
method: 'network'
#See https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#install-the-cuda-software
sub-packages: '["nvcc","cudart","visual_studio_integration","cublas_dev","cublas"]'
- uses: dtolnay/rust-toolchain@stable
- name: Check
run: cargo check --verbose
- name: Build
run: cargo build --verbose --features cublas
# cuda:
# name: Build with cuda support
# strategy:
# # Don't stop building if it fails on an OS
# fail-fast: false
# matrix:
# os: [windows-latest, ubuntu-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - uses: Jimver/cuda-toolkit@v0.2.10
# if: matrix.os == 'ubuntu-latest'
# id: cuda-toolkit-linux
# with:
# cuda: '12.1.0'
# method: 'network'
# #See e.g. https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/
# sub-packages: '["nvcc","compiler","libraries","libraries-dev","cudart","cudart-dev","libcublas","libcublas-dev"]'
# - uses: Jimver/cuda-toolkit@v0.2.10
# if: matrix.os == 'windows-latest'
# id: cuda-toolkit-windows
# with:
# cuda: '12.1.0'
# method: 'network'
# #See https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#install-the-cuda-software
# sub-packages: '["nvcc","cudart","visual_studio_integration","cublas_dev","cublas"]'
# - uses: dtolnay/rust-toolchain@stable
# - name: Check
# run: cargo check --verbose
# - name: Build
# run: cargo build --verbose --features cublas

opencl:
name: Build with opencl support
Expand Down

0 comments on commit 0605673

Please sign in to comment.