Skip to content

Commit

Permalink
no cuda for arm, dynamic python version
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Jan 24, 2025
1 parent 3bca174 commit bac6fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./target/debug/ ./examples/analytic.py
- name: (ubuntu) install CUDA
if: ${{ startsWith(matrix.os, 'ubuntu') }}
if: ${{ startsWith(matrix.os, 'ubuntu') && ! endsWith(matrix.os, 'arm') }}
run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
Expand All @@ -151,7 +151,7 @@ jobs:
echo PATH=${PATH}:/usr/local/cuda/bin >> $GITHUB_ENV
- name: (ubuntu) CUDA smoke tests
if: ${{ startsWith(matrix.os, 'ubuntu') }}
if: ${{ startsWith(matrix.os, 'ubuntu') && ! endsWith(matrix.os, 'arm') }}
run: |
# Can't run the tests; there's no GPU
cargo test --all --no-run --features=cuda
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "mwa_hyperbeam"
repository = "https://github.com/MWATelescope/mwa_hyperbeam"
requires-python = ">=3.7"
dependencies = ["numpy"]
dynamic = ["version"]

[build-system]
requires = ["setuptools", "maturin>=1.0,<2.0"]
Expand Down

0 comments on commit bac6fc0

Please sign in to comment.