Skip to content

Commit

Permalink
Fix variable expansion on powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Jan 19, 2024
1 parent bfee61d commit 88485dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/win-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
echo "${{ steps.setup-mpi.outputs.mpi }}"
mpiexec --version
ls $I_MPI_ROOT
ls $I_MPI_ROOT\bin
ls $I_MPI_ROOT\lib
ls "$I_MPI_ROOT\bin"
ls "$I_MPI_ROOT\lib"
mpifc.bat -show
mpicc.bat -show
Expand All @@ -57,15 +57,17 @@ jobs:
}
mkdir build
$env:VERBOSE = 1
make -Wdev -G "Unix Makefiles" -S . -B build -DCMAKE_INSTALL_PREFIX=$HOME\apps\OpenCoarrays -DCMAKE_BUILD_TYPE:STRING="Debug"
make -Wdev -G "Unix Makefiles" -S . -B build -DCMAKE_INSTALL_PREFIX="$HOME\apps\OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug"
ThrowOnNativeFailure
cmake --build build -j
ThrowOnNativeFailure
cmake --build build -j
ThrowOnNativeFailure
cmake --build build -t install -j
ThrowOnNativeFailure
ctest --test-dir build --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
ThrowOnNativeFailure
echo $HOME\apps\OpenCoarrays\bin | Out-File -FilePath $GITHUB_PATH -Encoding utf8 -Append
echo "$HOME\apps\OpenCoarrays\bin" | Out-File -FilePath $GITHUB_PATH -Encoding utf8 -Append
ThrowOnNativeFailure
$env:PATH += ";$HOME\apps\OpenCoarrays\bin"
ThrowOnNativeFailure
Expand Down

0 comments on commit 88485dc

Please sign in to comment.