File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 26
26
27
27
- name : install prereqs (linux)
28
28
if : runner.os == 'Linux'
29
- run : sudo apt -yq install --no-install-recommends lib${{ matrix.mpi }}-dev
29
+ run : sudo apt install --no-install-recommends lib${{ matrix.mpi }}-dev
30
30
31
31
- name : install prereqs (mac)
32
32
if : runner.os == 'macOS'
61
61
- name : Install mpiexec.exe (-force needed to bypass GUI on headless)
62
62
run : .\msmpisetup.exe -unattend -force
63
63
64
- - name : test that mpiexec.exe exists
65
- # can't use MSMPI_BIN as Actions doesn't update PATH from msmpisetup.exe
66
- run : Test-Path "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -PathType leaf
64
+ - name : Assert file existence
65
+ run : if (-not (Test-Path -Path "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -PathType Leaf)) { exit 1 }
67
66
68
67
- name : put MSMPI_BIN on PATH (where mpiexec is)
69
68
run : echo "C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
You can’t perform that action at this time.
0 commit comments