Skip to content

Commit

Permalink
ci: try build ubuntu with cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
For-Chance committed Sep 26, 2024
1 parent 0d2c8e3 commit f6e16fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,14 @@ jobs:
build_ubuntu_with_cuda:
runs-on: ubuntu-latest
steps:
- uses: Jimver/[email protected]
- name: Install cuda-toolkit 11.7

uses: Jimver/[email protected]
with:
# Cuda version
cuda: 11.7.0 # optional, default is 12.5.0
# Only installs specified subpackages, must be in the form of a JSON array. For example, if you only want to install nvcc and visual studio integration: ["nvcc", "visual_studio_integration"] double quotes required! Note that if you want to use this on Linux, 'network' method MUST be used.
sub-packages: '["libcusparse"]' # optional, default is []
sub-packages: '[]' # optional, default is []
# Only installs specified subpackages that do not have the cuda prefix, must be in the form of a JSON array. For example, if you only want to install libcublas and libcufft: ["libcublas", "libcufft"] double quotes required! Note that this only works with 'network' method on only on Linux.
non-cuda-sub-packages: '[]' # optional, default is []
# Installation method, can be either 'local' or 'network'. 'local' downloads the entire installer with all packages and runs that (you can still only install certain packages with sub-packages on Windows). 'network' downloads a smaller executable which only downloads necessary packages which you can define in subPackages
Expand Down

0 comments on commit f6e16fe

Please sign in to comment.