@@ -13,18 +13,11 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Checkout GKlib
17- uses : actions/checkout@v4
18- with :
19- repository : KarypisLab/GKlib
20- ref : master
21- path : GKlib
22-
2316 - name : Checkout METIS
2417 uses : actions/checkout@v4
2518 with :
26- repository : KarypisLab /METIS
27- ref : master
19+ repository : galabovaa /METIS
20+ ref : 510-w
2821 path : METIS
2922
3023 - name : Create installs dir
@@ -33,21 +26,15 @@ jobs:
3326 mkdir installs
3427 ls
3528
36- - name : Install GKLIB
37- run : |
38- cd GKlib
39- make config prefix=${{runner.workspace}}/installs
40- make
41- make install
42-
4329 - name : Install METIS
4430 run : |
4531 cd METIS
46- make config prefix=${{runner.workspace}}/installs
47- make
48- make install
32+ pwd
33+ cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
34+ cmake --build build --parallel --config Release
35+ cmake install --build
4936
50- - name : Check METIS and GKlib
37+ - name : Check METIS
5138 working-directory : ${{runner.workspace}}
5239 run : |
5340 cd installs
6148 working-directory : ${{runner.workspace}}/build
6249 run : |
6350 cmake $GITHUB_WORKSPACE -DHIPO=ON \
64- -DMETIS_ROOT=${{runner.workspace}}/installs \
65- -DGKLIB_ROOT=${{runner.workspace}}/installs
51+ -DMETIS_ROOT=${{runner.workspace}}/installs
6652
6753 - name : Build
6854 working-directory : ${{runner.workspace}}/build
@@ -88,18 +74,11 @@ jobs:
8874 steps :
8975 - uses : actions/checkout@v4
9076
91- - name : Checkout GKlib
92- uses : actions/checkout@v4
93- with :
94- repository : KarypisLab/GKlib
95- ref : master
96- path : GKlib
97-
9877 - name : Checkout METIS
9978 uses : actions/checkout@v4
10079 with :
101- repository : KarypisLab /METIS
102- ref : master
80+ repository : galabovaa /METIS
81+ ref : 510-w
10382 path : METIS
10483
10584 - name : Create installs dir
@@ -108,21 +87,15 @@ jobs:
10887 mkdir installs
10988 ls
11089
111- - name : Install GKLIB
112- run : |
113- cd GKlib
114- make config prefix=${{runner.workspace}}/installs
115- make
116- make install
117-
11890 - name : Install METIS
11991 run : |
12092 cd METIS
121- make config prefix=${{runner.workspace}}/installs
122- make
123- make install
93+ pwd
94+ cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
95+ cmake --build build --parallel --config Debug
96+ cmake install --build
12497
125- - name : Check METIS and GKlib
98+ - name : Check METIS
12699 working-directory : ${{runner.workspace}}
127100 run : |
128101 cd installs
@@ -137,7 +110,6 @@ jobs:
137110 run : |
138111 cmake $GITHUB_WORKSPACE -DHIPO=ON \
139112 -DMETIS_ROOT=${{runner.workspace}}/installs \
140- -DGKLIB_ROOT=${{runner.workspace}}/installs \
141113 -DCMAKE_BUILD_TYPE=Debug
142114
143115 - name : Build
@@ -164,18 +136,11 @@ jobs:
164136 steps :
165137 - uses : actions/checkout@v4
166138
167- - name : Checkout GKlib
168- uses : actions/checkout@v4
169- with :
170- repository : KarypisLab/GKlib
171- ref : master
172- path : GKlib
173-
174139 - name : Checkout METIS
175140 uses : actions/checkout@v4
176141 with :
177- repository : KarypisLab /METIS
178- ref : master
142+ repository : galabovaa /METIS
143+ ref : 510-w
179144 path : METIS
180145
181146 - name : Create installs dir
@@ -184,21 +149,15 @@ jobs:
184149 mkdir installs
185150 ls
186151
187- - name : Install GKLIB
188- run : |
189- cd GKlib
190- make config prefix=${{runner.workspace}}/installs
191- make
192- make install
193-
194152 - name : Install METIS
195153 run : |
196154 cd METIS
197- make config prefix=${{runner.workspace}}/installs
198- make
199- make install
155+ pwd
156+ cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
157+ cmake --build build --parallel --config Release
158+ cmake install --build
200159
201- - name : Check METIS and GKlib
160+ - name : Check METIS
202161 working-directory : ${{runner.workspace}}
203162 run : |
204163 cd installs
@@ -212,8 +171,7 @@ jobs:
212171 working-directory : ${{runner.workspace}}/build
213172 run : |
214173 cmake $GITHUB_WORKSPACE -DHIPO=ON -DALL_TESTS=ON \
215- -DMETIS_ROOT=${{runner.workspace}}/installs \
216- -DGKLIB_ROOT=${{runner.workspace}}/installs
174+ -DMETIS_ROOT=${{runner.workspace}}/installs
217175
218176 - name : Build
219177 working-directory : ${{runner.workspace}}/build
@@ -239,18 +197,11 @@ jobs:
239197 steps :
240198 - uses : actions/checkout@v4
241199
242- - name : Checkout GKlib
243- uses : actions/checkout@v4
244- with :
245- repository : KarypisLab/GKlib
246- ref : master
247- path : GKlib
248-
249200 - name : Checkout METIS
250201 uses : actions/checkout@v4
251202 with :
252- repository : KarypisLab /METIS
253- ref : master
203+ repository : galabovaa /METIS
204+ ref : 510-w
254205 path : METIS
255206
256207 - name : Create installs dir
@@ -259,21 +210,15 @@ jobs:
259210 mkdir installs
260211 ls
261212
262- - name : Install GKLIB
263- run : |
264- cd GKlib
265- make config prefix=${{runner.workspace}}/installs
266- make
267- make install
268-
269213 - name : Install METIS
270214 run : |
271215 cd METIS
272- make config prefix=${{runner.workspace}}/installs
273- make
274- make install
216+ pwd
217+ cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
218+ cmake --build build --parallel --config Debug
219+ cmake install --build
275220
276- - name : Check METIS and GKlib
221+ - name : Check METIS
277222 working-directory : ${{runner.workspace}}
278223 run : |
279224 cd installs
@@ -288,7 +233,6 @@ jobs:
288233 run : |
289234 cmake $GITHUB_WORKSPACE -DHIPO=ON -DALL_TESTS=ON \
290235 -DMETIS_ROOT=${{runner.workspace}}/installs \
291- -DGKLIB_ROOT=${{runner.workspace}}/installs \
292236 -DCMAKE_BUILD_TYPE=Debug
293237
294238 - name : Build
0 commit comments