@@ -3,85 +3,7 @@ name: hipo-macos
33on : [push, pull_request]
44
55jobs :
6- macos_gh :
7- runs-on : macos-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 GKlib
18- uses : actions/checkout@v4
19- with :
20- repository : KarypisLab/GKlib
21- ref : master
22- path : GKlib
23-
24- - name : Checkout METIS
25- uses : actions/checkout@v4
26- with :
27- repository : KarypisLab/METIS
28- ref : master
29- path : METIS
30-
31- - name : Create installs dir
32- working-directory : ${{runner.workspace}}
33- run : |
34- mkdir installs
35- ls
36-
37- - name : Install GKlib
38- run : |
39- cd GKlib
40- make config prefix=${{runner.workspace}}/installs
41- make
42- make install
43-
44- - name : Install METIS
45- run : |
46- cd METIS
47- make config prefix=${{runner.workspace}}/installs
48- make
49- make install
50-
51- - name : Check METIS and GKlib
52- working-directory : ${{runner.workspace}}
53- run : |
54- cd installs
55- ls
56- ls lib
57-
58- - name : Create Build Environment
59- run : cmake -E make_directory ${{runner.workspace}}/build
60-
61- - name : Configure CMake
62- working-directory : ${{runner.workspace}}/build
63- run : |
64- cmake $GITHUB_WORKSPACE -DHIPO=ON \
65- -DCMAKE_BUILD_TYPE=${{ matrix.config }} \
66- -DALL_TESTS=${{ matrix.all_tests }} \
67- -DMETIS_ROOT=${{runner.workspace}}/installs \
68- -DGKLIB_ROOT=${{runner.workspace}}/installs
69-
70- - name : Build
71- working-directory : ${{runner.workspace}}/build
72- run : |
73- cmake --build . --parallel
74-
75- - name : Test executable
76- working-directory : ${{runner.workspace}}/build
77- run : ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
78-
79- - name : Ctest
80- working-directory : ${{runner.workspace}}/build
81- run : |
82- ctest --parallel --timeout 300 --output-on-failure
83-
84- macos_510-ts :
6+ macos :
857 runs-on : macos-latest
868 strategy :
879 fail-fast : false
9214 steps :
9315 - uses : actions/checkout@v4
9416
95- - name : Checkout METIS
96- uses : actions/checkout@v4
97- with :
98- repository : galabovaa/METIS
99- ref : 510-ts
100- path : METIS
101-
102- - name : Create installs dir
103- working-directory : ${{runner.workspace}}
104- run : |
105- mkdir installs
106- ls
107-
108- - name : Install METIS
109- run : |
110- cmake \
111- -S $GITHUB_WORKSPACE/METIS \
112- -B build \
113- -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
114- -DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
115- -DCMAKE_BUILD_TYPE=${{ matrix.config }}
116- cmake --build build --parallel
117- cmake --install build
118-
119- - name : Check METIS and GKlib
120- working-directory : ${{runner.workspace}}
121- run : |
122- cd installs
123- ls
124- ls lib
125-
12617 - name : Create Build Environment
12718 run : cmake -E make_directory ${{runner.workspace}}/build
12819
@@ -131,79 +22,7 @@ jobs:
13122 run : |
13223 cmake $GITHUB_WORKSPACE -DHIPO=ON \
13324 -DCMAKE_BUILD_TYPE=${{ matrix.config }} \
134- -DALL_TESTS=${{ matrix.all_tests }} \
135- -DMETIS_ROOT=${{runner.workspace}}/installs \
136-
137- # -DGKLIB_ROOT=${{runner.workspace}}/installs
138-
139- - name : Build
140- working-directory : ${{runner.workspace}}/build
141- run : |
142- cmake --build . --parallel
143-
144- - name : Test executable
145- working-directory : ${{runner.workspace}}/build
146- run : ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
147-
148- - name : Ctest
149- working-directory : ${{runner.workspace}}/build
150- run : |
151- ctest --parallel --timeout 300 --output-on-failure
152-
153- macos_521-ts :
154- runs-on : macos-latest
155- strategy :
156- fail-fast : false
157- matrix :
158- config : [Release, Debug]
159- all_tests : [ON, OFF]
160-
161- steps :
162- - uses : actions/checkout@v4
163-
164- - name : Checkout METIS
165- uses : actions/checkout@v4
166- with :
167- repository : galabovaa/METIS
168- ref : 521-ts
169- path : METIS
170-
171- - name : Create installs dir
172- working-directory : ${{runner.workspace}}
173- run : |
174- mkdir installs
175- ls
176-
177- - name : Install METIS
178- run : |
179- cmake \
180- -S $GITHUB_WORKSPACE/METIS \
181- -B build \
182- -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
183- -DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
184- -DCMAKE_BUILD_TYPE=${{ matrix.config }}
185- cmake --build build --parallel
186- cmake --install build
187-
188- - name : Check METIS and GKlib
189- working-directory : ${{runner.workspace}}
190- run : |
191- cd installs
192- ls
193- ls lib
194-
195- - name : Create Build Environment
196- run : cmake -E make_directory ${{runner.workspace}}/build
197-
198- - name : Configure CMake
199- working-directory : ${{runner.workspace}}/build
200- run : |
201- cmake $GITHUB_WORKSPACE -DHIPO=ON \
202- -DCMAKE_BUILD_TYPE=${{ matrix.config }} \
203- -DALL_TESTS=${{ matrix.all_tests }} \
204- -DMETIS_ROOT=${{runner.workspace}}/installs \
205-
206- # -DGKLIB_ROOT=${{runner.workspace}}/installs
25+ -DALL_TESTS=${{ matrix.all_tests }}
20726
20827 - name : Build
20928 working-directory : ${{runner.workspace}}/build
0 commit comments