Skip to content

Commit f7344cb

Browse files
committed
Workflows use 64-bit metis
1 parent 519b0be commit f7344cb

File tree

6 files changed

+12
-290
lines changed

6 files changed

+12
-290
lines changed

.github/workflows/hipo-macos.yml

Lines changed: 2 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install METIS
4545
run: |
4646
cd METIS
47-
make config prefix=${{runner.workspace}}/installs
47+
make config prefix=${{runner.workspace}}/installs i64=1
4848
make
4949
make install
5050
@@ -81,75 +81,6 @@ jobs:
8181
run: |
8282
ctest --parallel --timeout 300 --output-on-failure
8383
84-
macos_510-ts:
85-
runs-on: macos-latest
86-
strategy:
87-
fail-fast: false
88-
matrix:
89-
config: [Release, Debug]
90-
all_tests: [ON, OFF]
91-
92-
steps:
93-
- uses: actions/checkout@v4
94-
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-
126-
- name: Create Build Environment
127-
run: cmake -E make_directory ${{runner.workspace}}/build
128-
129-
- name: Configure CMake
130-
working-directory: ${{runner.workspace}}/build
131-
run: |
132-
cmake $GITHUB_WORKSPACE -DHIPO=ON \
133-
-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-
15384
macos_521-ts:
15485
runs-on: macos-latest
15586
strategy:
@@ -165,7 +96,7 @@ jobs:
16596
uses: actions/checkout@v4
16697
with:
16798
repository: galabovaa/METIS
168-
ref: 521-ts
99+
ref: 521-ts-64
169100
path: METIS
170101

171102
- name: Create installs dir

.github/workflows/hipo-ubuntu-cblas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Install METIS
6161
run: |
6262
cd METIS
63-
make config shared=1 prefix=${{runner.workspace}}/installs
63+
make config shared=1 prefix=${{runner.workspace}}/installs i64=1
6464
make
6565
make install
6666

.github/workflows/hipo-ubuntu.yml

Lines changed: 2 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Install METIS
6060
run: |
6161
cd METIS
62-
make config shared=1 prefix=${{runner.workspace}}/installs
62+
make config shared=1 prefix=${{runner.workspace}}/installs i64=1
6363
make
6464
make install
6565
@@ -105,82 +105,6 @@ jobs:
105105
run: |
106106
ctest --parallel --timeout 300 --output-on-failure
107107
108-
ubuntu_510-ts:
109-
runs-on: ubuntu-latest
110-
strategy:
111-
fail-fast: false
112-
matrix:
113-
config: [Release, Debug]
114-
all_tests: [ON, OFF]
115-
116-
steps:
117-
- uses: actions/checkout@v4
118-
119-
- name: Checkout METIS
120-
uses: actions/checkout@v4
121-
with:
122-
repository: galabovaa/METIS
123-
ref: 510-ts
124-
path: METIS
125-
126-
- name: Create installs dir
127-
working-directory: ${{runner.workspace}}
128-
run: |
129-
mkdir installs
130-
ls
131-
132-
- name: Install METIS
133-
run: |
134-
cmake \
135-
-S $GITHUB_WORKSPACE/METIS \
136-
-B build \
137-
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
138-
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
139-
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
140-
cmake --build build --parallel
141-
cmake --install build
142-
143-
# no default blas available on runner
144-
145-
- name: Cache APT packages
146-
uses: actions/cache@v4
147-
with:
148-
path: |
149-
/var/cache/apt/archives
150-
/var/lib/apt/lists
151-
key: ${{ runner.os }}-apt-libopenblas
152-
153-
- name: Install OpenBLAS
154-
shell: bash
155-
run: |
156-
sudo apt update
157-
sudo apt install libopenblas-dev
158-
159-
- name: Create Build Environment
160-
run: cmake -E make_directory ${{runner.workspace}}/build
161-
162-
- name: Configure CMake
163-
working-directory: ${{runner.workspace}}/build
164-
run: |
165-
cmake $GITHUB_WORKSPACE -DHIPO=ON \
166-
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
167-
-DALL_TESTS=${{ matrix.all_tests }} \
168-
-DMETIS_ROOT=${{runner.workspace}}/installs
169-
170-
- name: Build
171-
working-directory: ${{runner.workspace}}/build
172-
run: |
173-
cmake --build . --parallel
174-
175-
- name: Test executable
176-
working-directory: ${{runner.workspace}}/build
177-
run: ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
178-
179-
- name: Ctest
180-
working-directory: ${{runner.workspace}}/build
181-
run: |
182-
ctest --parallel --timeout 300 --output-on-failure
183-
184108
ubuntu_521-ts:
185109
runs-on: ubuntu-latest
186110
strategy:
@@ -196,7 +120,7 @@ jobs:
196120
uses: actions/checkout@v4
197121
with:
198122
repository: galabovaa/METIS
199-
ref: 521-ts
123+
ref: 521-ts-64
200124
path: METIS
201125

202126
- name: Create installs dir

.github/workflows/hipo-win.yml

Lines changed: 1 addition & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -3,139 +3,6 @@ name: hipo-win
33
on: [push, pull_request]
44

55
jobs:
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:
@@ -151,7 +18,7 @@ jobs:
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

.github/workflows/valgrind-hipo-md.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
repository: galabovaa/METIS
19-
ref: 521-ts
19+
ref: 521-ts-64
2020
path: METIS
2121

2222
- name: Create installs dir
@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/checkout@v4
110110
with:
111111
repository: galabovaa/METIS
112-
ref: 521-ts
112+
ref: 521-ts-64
113113
path: METIS
114114

115115
- name: Create installs dir
@@ -207,7 +207,7 @@ jobs:
207207
uses: actions/checkout@v4
208208
with:
209209
repository: galabovaa/METIS
210-
ref: 521-ts
210+
ref: 521-ts-64
211211
path: METIS
212212

213213
- name: Create installs dir

0 commit comments

Comments
 (0)