Skip to content

Commit cd2dedb

Browse files
committed
Update
1 parent cb65fae commit cd2dedb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/hipo.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,29 @@ jobs:
5050
all_tests: ['OFF', 'ON']
5151
steps:
5252
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v4
54+
with:
55+
repository: galabovaa/METIS
56+
ref: 510-w
57+
path: METIS
58+
- run: |
59+
mkdir installs
60+
INSTALLS_PREFIX=$(cygpath "${{ runner.workspace }}")/installs
61+
cd METIS
62+
cmake -S. -B build -DGKLIB_PATH=GKlib -DCMAKE_INSTALL_PREFIX=$INSTALLS_PREFIX
63+
cmake --build build --parallel --config ${{ matrix.build_type }}
64+
cmake --install build --config ${{ matrix.build_type }}
5365
- run: |
66+
INSTALLS_PREFIX=$(cygpath "${{ runner.workspace }}")/installs
5467
vcpkg install openblas[threads]
55-
vcpkg install metis
5668
cmake -E make_directory build
5769
cd build
5870
cmake `
5971
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} `
6072
-DALL_TESTS=${{ matrix.all_tests }} `
6173
-DHIPO=ON `
6274
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake `
75+
-DMETIS_ROOT=$INSTALLS_PREFIX `
6376
..
6477
cmake --build . --parallel --config ${{ matrix.build_type }}
6578
ctest -C ${{ matrix.build_type }} --timeout 300 --output-on-failure --no-tests=error

0 commit comments

Comments
 (0)