@@ -3,139 +3,6 @@ name: hipo-win
33on : [push, pull_request]
44
55jobs :
6- win-vcpkg :
7- runs-on : windows-latest
8- strategy :
9- fail-fast : false
10- matrix :
11- config : [Release, Debug]
12- all_tests : [OFF]
13-
14- steps :
15- - uses : actions/checkout@v4
16-
17- - name : Checkout metis overlay ports
18- uses : actions/checkout@v4
19- with :
20- repository : galabovaa/metis-overlay-ports
21- ref : main
22- path : overlay-ports
23-
24- - name : List overlay contents
25- shell : pwsh
26- run : Get-ChildItem -Recurse "$env:GITHUB_WORKSPACE/overlay-ports"
27-
28- - name : Install metis with overlay port
29- shell : pwsh
30- run : |
31- vcpkg install metis gklib `
32- --overlay-ports="$env:GITHUB_WORKSPACE/overlay-ports/ports/metis" `
33- --overlay-ports="$env:GITHUB_WORKSPACE/overlay-ports/ports/gklib"
34-
35- - name : Install OpenBLAS
36- shell : pwsh
37- run : vcpkg install openblas[threads]
38-
39- - name : Configure CMake
40- shell : pwsh
41- run : |
42- cmake `
43- -S "$env:GITHUB_WORKSPACE" `
44- -B "${{ runner.workspace }}/build" `
45- -DHIPO=ON `
46- -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
47- -DALL_TESTS=${{ matrix.all_tests }}
48-
49- - name : Build
50- shell : pwsh
51- working-directory : ${{runner.workspace}}/build
52- run : |
53- cmake --build . --parallel --config ${{ matrix.config }}
54-
55- - name : Test executable
56- shell : pwsh
57- working-directory : ${{runner.workspace}}/build
58- run : |
59- & ".\${{ matrix.config }}\bin\highs.exe" --solver=hipo `
60- "$env:GITHUB_WORKSPACE/check/instances/afiro.mps"
61-
62- - name : Ctest
63- shell : pwsh
64- working-directory : ${{runner.workspace}}/build
65- run : |
66- ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
67-
68- win-510-ts :
69- runs-on : windows-latest
70- strategy :
71- fail-fast : false
72- matrix :
73- config : [Release, Debug]
74- all_tests : [ON, OFF]
75-
76- steps :
77- - uses : actions/checkout@v4
78-
79- - name : Checkout METIS
80- uses : actions/checkout@v4
81- with :
82- repository : galabovaa/METIS
83- ref : 510-ts
84- path : METIS
85-
86- - name : Create installs dir
87- working-directory : ${{runner.workspace}}
88- run : |
89- ls
90- mkdir installs
91- ls
92-
93- - name : Install METIS
94- shell : pwsh
95- run : |
96- cd METIS
97- pwd
98- cmake -S. -B build `
99- -DGKLIB_PATH="$env:GITHUB_WORKSPACE/METIS/GKlib" `
100- -DCMAKE_INSTALL_PREFIX="${{ runner.workspace }}/installs" `
101- -DCMAKE_BUILD_TYPE=${{ matrix.config }}
102- cmake --build build --parallel --config ${{ matrix.config }}
103- cmake --install build --config ${{ matrix.config }}
104-
105- - name : Install OpenBLAS
106- shell : pwsh
107- run : vcpkg install openblas[threads]
108-
109- - name : Configure CMake
110- shell : pwsh
111- run : |
112- cmake `
113- -S "$env:GITHUB_WORKSPACE" `
114- -B "${{ runner.workspace }}/build" `
115- -DHIPO=ON `
116- -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
117- -DMETIS_ROOT="${{ runner.workspace }}/installs" `
118- -DALL_TESTS=${{ matrix.all_tests }}
119-
120- - name : Build
121- shell : pwsh
122- working-directory : ${{runner.workspace}}/build
123- run : |
124- cmake --build . --parallel --config ${{ matrix.config }}
125-
126- - name : Test executable
127- shell : pwsh
128- working-directory : ${{runner.workspace}}/build
129- run : |
130- & ".\${{ matrix.config }}\bin\highs.exe" --solver=hipo `
131- "$env:GITHUB_WORKSPACE/check/instances/afiro.mps"
132-
133- - name : Ctest
134- shell : pwsh
135- working-directory : ${{runner.workspace}}/build
136- run : |
137- ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
138-
1396 win-521-ts :
1407 runs-on : windows-latest
1418 strategy :
15118 uses : actions/checkout@v4
15219 with :
15320 repository : galabovaa/METIS
154- ref : 521-ts
21+ ref : 521-ts-64
15522 path : METIS
15623
15724 - name : Create installs dir
0 commit comments