Skip to content

Commit 32488d2

Browse files
committed
install gklib
1 parent b453502 commit 32488d2

File tree

1 file changed

+52
-53
lines changed

1 file changed

+52
-53
lines changed

.github/workflows/hipo-win.yml

Lines changed: 52 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
vcpkg-${{ runner.os }}-
2626
2727
- name: Install GKlib
28-
run: vcpkg install metis
28+
run: vcpkg install gklib
2929

3030
- name: Install METIS
3131
run: vcpkg install metis
@@ -44,7 +44,6 @@ jobs:
4444
- name: Configure cmake
4545
shell: bash
4646
working-directory: ${{runner.workspace}}/build
47-
# Here is _DIR because with vcpkg CMake find_package works.
4847
run: |
4948
cmake $GITHUB_WORKSPACE \
5049
-DHIPO=ON \
@@ -67,54 +66,54 @@ jobs:
6766
run: |
6867
ctest --parallel --timeout 300 --output-on-failure -C Release
6968
70-
debug:
71-
runs-on: ${{ matrix.os }}
72-
strategy:
73-
fail-fast: false
74-
matrix:
75-
os: [windows-latest]
76-
77-
steps:
78-
- uses: actions/checkout@v4
79-
80-
- name: Install METIS
81-
run: vcpkg install metis
82-
83-
# run: ls C:/vcpkg/packages/metis_x64-windows/
84-
# run: ls C:/vcpkg/packages/metis_x64-windows/lib
85-
# run: ls C:/vcpkg/packages/metis_x64-windows/share
86-
# run: ls C:/vcpkg/packages/gklib_x64-windows/share/gklib
87-
88-
- name: Install OpenBLAS
89-
run: vcpkg install openblas
90-
91-
- name: Create build dir
92-
run: cmake -E make_directory ${{runner.workspace}}/build
93-
94-
- name: Configure cmake
95-
shell: bash
96-
working-directory: ${{runner.workspace}}/build
97-
# Here is _DIR because with vcpkg CMake find_package works.
98-
run: |
99-
cmake $GITHUB_WORKSPACE \
100-
-DHIPO=ON \
101-
-Dmetis_DIR=C:/vcpkg/packages/metis_x64-windows/share/metis \
102-
-DGKlib_DIR=C:/vcpkg/packages/gklib_x64-windows/share/gklib \
103-
-DOpenBLAS_DIR=C:/vcpkg/packages/openblas_x64-windows/share/openblas
104-
105-
- name: Build
106-
shell: bash
107-
working-directory: ${{runner.workspace}}/build
108-
run: |
109-
cmake --build . --parallel --config Debug
110-
111-
- name: Test executable
112-
shell: bash
113-
working-directory: ${{runner.workspace}}/build
114-
run: ./Debug/bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
115-
116-
- name: Ctest
117-
shell: bash
118-
working-directory: ${{runner.workspace}}/build
119-
run: |
120-
ctest --parallel --timeout 300 --output-on-failure -C Debug
69+
# debug:
70+
# runs-on: ${{ matrix.os }}
71+
# strategy:
72+
# fail-fast: false
73+
# matrix:
74+
# os: [windows-latest]
75+
76+
# steps:
77+
# - uses: actions/checkout@v4
78+
79+
# - name: Install METIS
80+
# run: vcpkg install metis
81+
82+
# # run: ls C:/vcpkg/packages/metis_x64-windows/
83+
# # run: ls C:/vcpkg/packages/metis_x64-windows/lib
84+
# # run: ls C:/vcpkg/packages/metis_x64-windows/share
85+
# # run: ls C:/vcpkg/packages/gklib_x64-windows/share/gklib
86+
87+
# - name: Install OpenBLAS
88+
# run: vcpkg install openblas
89+
90+
# - name: Create build dir
91+
# run: cmake -E make_directory ${{runner.workspace}}/build
92+
93+
# - name: Configure cmake
94+
# shell: bash
95+
# working-directory: ${{runner.workspace}}/build
96+
# # Here is _DIR because with vcpkg CMake find_package works.
97+
# run: |
98+
# cmake $GITHUB_WORKSPACE \
99+
# -DHIPO=ON \
100+
# -Dmetis_DIR=C:/vcpkg/packages/metis_x64-windows/share/metis \
101+
# -DGKlib_DIR=C:/vcpkg/packages/gklib_x64-windows/share/gklib \
102+
# -DOpenBLAS_DIR=C:/vcpkg/packages/openblas_x64-windows/share/openblas
103+
104+
# - name: Build
105+
# shell: bash
106+
# working-directory: ${{runner.workspace}}/build
107+
# run: |
108+
# cmake --build . --parallel --config Debug
109+
110+
# - name: Test executable
111+
# shell: bash
112+
# working-directory: ${{runner.workspace}}/build
113+
# run: ./Debug/bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
114+
115+
# - name: Ctest
116+
# shell: bash
117+
# working-directory: ${{runner.workspace}}/build
118+
# run: |
119+
# ctest --parallel --timeout 300 --output-on-failure -C Debug

0 commit comments

Comments
 (0)