@@ -206,3 +206,73 @@ jobs:
206206 working-directory : ${{runner.workspace}}/build
207207 run : |
208208 ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
209+
210+ win-choch-521-ts :
211+ runs-on : windows-latest
212+ strategy :
213+ fail-fast : false
214+ matrix :
215+ config : [Release]
216+ all_tests : [ON]
217+
218+ steps :
219+ - uses : actions/checkout@v4
220+
221+ - name : Checkout METIS
222+ uses : actions/checkout@v4
223+ with :
224+ repository : galabovaa/METIS
225+ ref : 521-ts
226+ path : METIS
227+
228+ - name : Create installs dir
229+ working-directory : ${{runner.workspace}}
230+ run : |
231+ ls
232+ mkdir installs
233+ ls
234+
235+ - name : Install METIS
236+ shell : pwsh
237+ run : |
238+ cd METIS
239+ pwd
240+ cmake -S. -B build `
241+ -DGKLIB_PATH="$env:GITHUB_WORKSPACE/METIS/GKlib" `
242+ -DCMAKE_INSTALL_PREFIX="${{ runner.workspace }}/installs" `
243+ -DCMAKE_BUILD_TYPE=${{ matrix.config }}
244+ cmake --build build --parallel --config ${{ matrix.config }}
245+ cmake --install build --config ${{ matrix.config }}
246+
247+ - name : Install OpenBLAS
248+ shell : pwsh
249+ run : choco install openblas
250+
251+ - name : Configure CMake
252+ shell : pwsh
253+ run : |
254+ cmake `
255+ -S "$env:GITHUB_WORKSPACE" `
256+ -B "${{ runner.workspace }}/build" `
257+ -DHIPO=ON `
258+ -DMETIS_ROOT="${{ runner.workspace }}/installs" `
259+ -DALL_TESTS=${{ matrix.all_tests }}
260+
261+ - name : Build
262+ shell : pwsh
263+ working-directory : ${{runner.workspace}}/build
264+ run : |
265+ cmake --build . --parallel --config ${{ matrix.config }}
266+
267+ - name : Test executable
268+ shell : pwsh
269+ working-directory : ${{runner.workspace}}/build
270+ run : |
271+ & ".\${{ matrix.config }}\bin\highs.exe" --solver=hipo `
272+ "$env:GITHUB_WORKSPACE/check/instances/afiro.mps"
273+
274+ - name : Ctest
275+ shell : pwsh
276+ working-directory : ${{runner.workspace}}/build
277+ run : |
278+ ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
0 commit comments