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