File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 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
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 :
You can’t perform that action at this time.
0 commit comments