File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 2424
2525 # todo: add overlay
2626 - name : Install METIS
27+ shell : pwsh
2728 run : |
2829 vcpkg install metis gklib `
2930 --overlay-ports="$env:GITHUB_WORKSPACE/ports/metis" `
@@ -35,37 +36,39 @@ jobs:
3536 # run: ls C:/vcpkg/packages/gklib_x64-windows/share/gklib
3637
3738 - name : Install OpenBLAS
39+ shell : pwsh
40+ run : |
3841 run : vcpkg install openblas[threads]
3942
4043 - name : Create build dir
4144 run : cmake -E make_directory ${{runner.workspace}}/build
4245
4346 - name : Configure cmake
44- shell : bash
47+ shell : pwsh
4548 run : |
46- cmake \
47- -S ${{runner.workspace}}/highs-tests/ HiGHS \
48- -B ${{runner.workspace}}/build \
49- -DHIPO=ON \
50- -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
49+ cmake `
50+ -S "$env:GITHUB_WORKSPACE/ HiGHS" `
51+ -B " ${{ runner.workspace }}/build" `
52+ -DHIPO=ON `
53+ -DCMAKE_TOOLCHAIN_FILE=" C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
5154
5255 # -DCMAKE_CXX_FLAGS="-I C:/vcpkg/packages/gklib_x64-windows/include/GKlib"
5356
5457 - name : Build
55- shell : bash
58+ shell : pwsh
5659 working-directory : ${{runner.workspace}}/build
5760 run : |
5861 cmake --build . --parallel --config Release
5962
6063 - name : Test executable
61- shell : bash
64+ shell : pwsh
6265 working-directory : ${{runner.workspace}}/build
6366 run : |
64- ./ Release/ bin/ highs --solver=hipo \
65- $${{ runner.workspace}}/highs-tests/HiGHS/check/instances/afiro.mps
67+ & ".\ Release\ bin\ highs.exe" --solver=hipo `
68+ "${{ runner.workspace }}/highs-tests/HiGHS/check/instances/afiro.mps"
6669
6770 - name : Ctest
68- shell : bash
71+ shell : pwsh
6972 working-directory : ${{runner.workspace}}/build
7073 run : |
7174 ctest --parallel --timeout 300 --output-on-failure -C Release
You can’t perform that action at this time.
0 commit comments