Skip to content

Commit a730bf8

Browse files
committed
remove dcm2niix install, add window and osx to phantoms
1 parent a3b050f commit a730bf8

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.github/workflows/phantoms.yaml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
strategy:
2929
matrix:
30-
os: [ubuntu-latest]
30+
os: [ubuntu-latest, windows-latest, macOS-latest]
3131
python: ["3.12"]
3232
fail-fast: false
3333

@@ -55,30 +55,6 @@ jobs:
5555
${{ runner.os }}-${{ env.cache-name }}-
5656
${{ runner.os }}-
5757
58-
- name: Install dcm2niix posix
59-
if: runner.os != 'Windows'
60-
run: |
61-
if [ "$RUNNER_OS" == "Linux" ]; then
62-
mkdir dcm2niix_install/ && cd dcm2niix_install/
63-
curl -fLO https://github.com/rordenlab/dcm2niix/releases/download/v1.0.20230411/dcm2niix_lnx.zip
64-
unzip dcm2niix*.zip
65-
echo "${{ github.workspace }}/dcm2niix_install/" >> $GITHUB_PATH
66-
elif [ "$RUNNER_OS" == "macOS" ]; then
67-
brew install dcm2niix
68-
fi
69-
70-
71-
- name: Check dcm2niix is installed and on path
72-
if: runner.os != 'Windows'
73-
run:
74-
dcm2niix -h
75-
76-
- name: Install dcm2niix windows
77-
if: runner.os == 'Windows'
78-
run: |
79-
curl -fLO https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_win.zip
80-
powershell -command "Expand-Archive dcm2niix_win.zip"
81-
8258
- name: Set up python
8359
uses: actions/setup-python@v4
8460
with:

0 commit comments

Comments
 (0)