File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ jobs:
3232 path : METIS
3333
3434 - name : Install METIS
35- shell : bash
35+ working-directory : ${{runner.workspace}}/highs-tests/builds
3636 run : |
37- INSTALLS_PREFIX=$(cygpath "${{ runner.workspace }}")/installs
38- cd METIS
39- pwd
40- cmake -S. -B build -DGKLIB_PATH=$GITHUB_WORKSPACE/METIS/GKlib -DCMAKE_INSTALL_PREFIX=$INSTALLS_PREFIX
37+ cmake `
38+ -S "$env:GITHUB_WORKSPACE/HiGHS" `
39+ -B build `
40+ -DGKLIB_PATH="$env:GITHUB_WORKSPACE/METIS/GKlib" `
41+ -DCMAKE_INSTALL_PREFIX="${{ runner.workspace }}")/installs
4142 cmake --build build --parallel --config Release
4243 cmake --install build --config Release
4344
@@ -51,15 +52,15 @@ jobs:
5152 cmake -E make_directory ${{runner.workspace}}/installs
5253
5354 - name : Configure cmake
54- shell : bash
55- working-directory : ${{runner.workspace}}/build
55+ shell : pwsh
5656 run : |
57- METIS_ROOT=$(cygpath "${{ runner.workspace }}")/installs
58- cmake $GITHUB_WORKSPACE \
59- -DHIPO=ON \
60- -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \
61- -DMETIS_ROOT=$METIS_ROOT \
62- -DALL_TESTS=${{ matrix.all_tests}}
57+ cmake `
58+ -S "$env:GITHUB_WORKSPACE/HiGHS" `
59+ -B "${{ runner.workspace }}/build" `
60+ -DHIPO=ON `
61+ -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake `
62+ -DMETIS_ROOT= "${{ runner.workspace }}")/installs `
63+ -DALL_TESTS=${{ matrix.all_tests }}
6364
6465 # -DCMAKE_CXX_FLAGS="-I C:/vcpkg/packages/gklib_x64-windows/include/GKlib"
6566
Original file line number Diff line number Diff line change 4545 -S "$env:GITHUB_WORKSPACE/HiGHS" `
4646 -B "${{ runner.workspace }}/build" `
4747 -DHIPO=ON `
48- -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" \
48+ -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
4949 -DALL_TESTS=${{ matrix.all_tests}}
5050
5151 - name : Build
You can’t perform that action at this time.
0 commit comments