Skip to content

Commit e7aa8b2

Browse files
committed
fix macos
1 parent 2138c32 commit e7aa8b2

File tree

4 files changed

+85
-2
lines changed

4 files changed

+85
-2
lines changed

.github/workflows/proto-macos.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: proto-macos
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
release:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Checkout GKlib
17+
uses: actions/checkout@v4
18+
with:
19+
repository: KarypisLab/GKlib
20+
ref: master
21+
path: GKlib
22+
23+
- name: Checkout METIS
24+
uses: actions/checkout@v4
25+
with:
26+
repository: KarypisLab/METIS
27+
ref: master
28+
path: METIS
29+
30+
- name: Create installs dir
31+
working-directory: ${{runner.workspace}}
32+
run: |
33+
mkdir installs
34+
ls
35+
36+
- name: Install GKLIB
37+
run: |
38+
cd GKlib
39+
make config prefix=${{runner.workspace}}/installs
40+
make
41+
make install
42+
43+
- name: Install METIS
44+
run: |
45+
cd METIS
46+
make config prefix=${{runner.workspace}}/installs
47+
make
48+
make install
49+
50+
51+
- name: Check METIS and GKlib
52+
working-directory: ${{runner.workspace}}
53+
run: |
54+
cd installs
55+
ls
56+
ls lib
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: proto
1+
name: proto-ubuntu
22

33
on: [push, pull_request]
44

@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ubuntu-latest, macos-latest]
11+
os: [ubuntu-latest]
1212

1313
steps:
1414
- uses: actions/checkout@v4

readme-hipo-deps

Whitespace-only changes.

readme-hipo-deps.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Dependencies install ubuntu / macos
2+
3+
1. Clone GKLib
4+
5+
git clone https://github.com/KarypisLab/GKlib.git
6+
7+
2. Clone METIS
8+
9+
git clone https://github.com/KarypisLab/GKlib.git
10+
11+
3. Create installs dir
12+
13+
mkdir installs
14+
15+
4. Install GKlib
16+
17+
cd GKlib
18+
make config prefix=${{runner.workspace}}/installs
19+
make
20+
make install
21+
22+
5. Install METIS
23+
24+
cd METIS
25+
make config prefix=${{runner.workspace}}/installs
26+
make
27+
make install

0 commit comments

Comments
 (0)