We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10ab3ac commit d2ae0c3Copy full SHA for d2ae0c3
.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
13
strategy:
14
matrix:
15
# Define the matrix for whether to install CUDA or not
16
- install_cuda: [true, false]
+ cuda: [with_cuda, without_cuda]
17
steps:
18
- uses: actions/checkout@v4
19
- name: Set up Python
@@ -31,8 +31,8 @@ jobs:
31
sudo apt-get install -y cmake build-essential libhdf5-dev libgsl-dev libfftw3-dev swig libnfft3-dev libtiff-dev libpng-dev
32
pip install pytest setuptools
33
34
- - name: Install NVIDIA CUDA Toolkit (if matrix.install_cuda is true)
35
- if: matrix.install_cuda == true
+ - name: Install NVIDIA CUDA Toolkit (if required)
+ if: matrix.cuda == 'with_cuda'
36
run: |
37
sudo apt-get install -y nvidia-cuda-toolkit
38
0 commit comments