-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from bluemindai/fitzjalen-patch-3
Make CI
- Loading branch information
Showing
5 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI Workflow | ||
|
||
on: | ||
push: | ||
branches: [ master, main ] | ||
pull_request: | ||
branches: [ master, main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install OpenBLAS dependencies | ||
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev liblapack-dev | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install meson ninja | ||
pip install -e . | ||
- name: Run Makefile target (pre-commit and tests) | ||
run: | | ||
make all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,10 @@ authors = [ | |
{ name = "Roman Fitzjalen", email = "[email protected]" } | ||
] | ||
dependencies = [ | ||
"cupy-cuda12x==13.0.0; platform_system != 'Darwin'", | ||
"pylibraft-cu12==24.8.1; platform_system != 'Darwin'", | ||
"numpy==1.26.3", | ||
"nibabel==5.2.1", | ||
"SimpleITK==2.3.1", | ||
"slicerio==1.1.2", | ||
"SimpleITK==2.4.1", | ||
"pyyaml==6.0.2", | ||
"xmltodict==0.14.2", | ||
"scipy==1.13.1", | ||
|
@@ -25,6 +24,7 @@ dependencies = [ | |
"scikit-image==0.24.0", | ||
"psutil==5.9.8", | ||
"vtk==9.4.1", | ||
"coverage==7.6.12", | ||
"pre-commit==4.1.0" | ||
] | ||
requires-python = ">=3.9" | ||
|
@@ -43,3 +43,9 @@ exclude = [".venv-optimed", ".vscode", ".history", "local", ".github"] | |
|
||
[tool.codespell] | ||
skip = '.git,*.pdf,*.svg' | ||
|
||
[project.optional-dependencies] | ||
gpu = [ | ||
"cupy-cuda12x==13.0.0; platform_system != 'Darwin'", | ||
"pylibraft-cu12==24.8.1; platform_system != 'Darwin'" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters