Skip to content

Commit 24d69a5

Browse files
committed
add metis debug too to all
1 parent ac6df66 commit 24d69a5

File tree

6 files changed

+74
-32
lines changed

6 files changed

+74
-32
lines changed

.github/workflows/hipo-macos-510.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
repository: galabovaa/METIS
3030
ref: 510-w
3131
path: METIS
32-
32+
3333
- name: Create installs dir
3434
working-directory: ${{runner.workspace}}
35-
run: |
35+
run: |
3636
mkdir installs
3737
3838
- name: Install METIS
@@ -42,12 +42,13 @@ jobs:
4242
cmake -S. -B build \
4343
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
4444
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs \
45+
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
4546
cmake --build build --parallel
4647
cmake --install build
4748
4849
- name: Create Build Environment
4950
run: cmake -E make_directory ${{runner.workspace}}/build
50-
51+
5152
- name: Configure CMake
5253
run: |
5354
cmake \
@@ -59,12 +60,12 @@ jobs:
5960
-DALL_TESTS=${{ matrix.all_tests}}
6061
6162
62-
- name: Build
63+
- name: Build
6364
working-directory: ${{runner.workspace}}/build
6465
run: |
6566
cmake --build . --parallel
6667
67-
- name: Test executable
68+
- name: Test executable
6869
working-directory: ${{runner.workspace}}/build
6970
run: |
7071
./bin/highs --solver=hipo \

.github/workflows/hipo-macos-gh.yml

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,34 +39,54 @@ jobs:
3939

4040
- name: Create installs dir
4141
working-directory: ${{runner.workspace}}
42-
run: |
42+
run: |
4343
mkdir installs
4444
ls
4545
46-
- name: Install GKLIB
46+
- name: Install GKlib Release
47+
working-directory: GKlib
48+
if: ${{ matrix.config == "Release"}}
4749
run: |
4850
cd GKlib
49-
make config prefix=${{runner.workspace}}/installs
51+
make config shared=1 prefix=${{runner.workspace}}/installs
5052
make
5153
make install
5254
53-
- name: Install METIS
55+
- name: Install GKlib Debug
56+
working-directory: GKlib
57+
if: ${{ matrix.config == "Debug"}}
58+
run: |
59+
cd GKlib
60+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
61+
make
62+
make install
63+
64+
- name: Install METIS Release
65+
if: ${{ matrix.config == "Release"}}
5466
run: |
5567
cd METIS
56-
make config prefix=${{runner.workspace}}/installs
68+
make config shared=1 prefix=${{runner.workspace}}/installs
69+
make
70+
make install
71+
72+
- name: Install METIS Debug
73+
if: ${{ matrix.config == "Debug"}}
74+
run: |
75+
cd METIS
76+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
5777
make
5878
make install
5979
6080
- name: Check METIS and GKlib
6181
working-directory: ${{runner.workspace}}
6282
run: |
6383
cd installs
64-
ls
84+
ls
6585
ls lib
6686
6787
- name: Create Build Environment
6888
run: cmake -E make_directory ${{runner.workspace}}/build
69-
89+
7090
- name: Configure CMake
7191
run: |
7292
cmake \
@@ -78,12 +98,12 @@ jobs:
7898
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
7999
-DALL_TESTS=${{ matrix.all_tests}}
80100
81-
- name: Build
101+
- name: Build
82102
working-directory: ${{runner.workspace}}/build
83103
run: |
84104
cmake --build . --parallel
85105
86-
- name: Test executable
106+
- name: Test executable
87107
working-directory: ${{runner.workspace}}/build
88108
run: |
89109
./bin/highs --solver=hipo \

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Create installs dir
3535
working-directory: ${{runner.workspace}}
36-
run: |
36+
run: |
3737
mkdir installs
3838
3939
- name: Install METIS
@@ -42,7 +42,8 @@ jobs:
4242
pwd
4343
cmake -S. -B build \
4444
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
45-
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
45+
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs \
46+
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
4647
cmake --build build --parallel --config Release
4748
cmake --install build
4849

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

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,33 @@ jobs:
4040

4141
- name: Create installs dir
4242
working-directory: ${{runner.workspace}}
43-
run: |
43+
run: |
4444
mkdir installs
4545
ls
4646
47-
- name: Install GKLIB
47+
- name: Install GKlib Release
48+
working-directory: GKlib
49+
if: ${{ matrix.config == "Release"}}
4850
run: |
4951
cd GKlib
5052
make config shared=1 prefix=${{runner.workspace}}/installs
5153
make
5254
make install
5355
54-
# - name: Check installs
56+
- name: Install GKlib Debug
57+
working-directory: GKlib
58+
if: ${{ matrix.config == "Debug"}}
59+
run: |
60+
cd GKlib
61+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
62+
make
63+
make install
64+
65+
# - name: Check installs
5566
# working-directory: ${{runner.workspace}}
5667
# run: |
5768
# cd installs
58-
# ls
69+
# ls
5970
# ls lib
6071

6172
- name: Copy GKlib shared (bug)
@@ -64,12 +75,21 @@ jobs:
6475
cd installs
6576
cd lib
6677
ln libGKlib.so.0 libGKlib.so
67-
ls
78+
ls
79+
80+
- name: Install METIS Release
81+
if: ${{ matrix.config == "Release"}}
82+
run: |
83+
cd METIS
84+
make config shared=1 prefix=${{runner.workspace}}/installs
85+
make
86+
make install
6887
69-
- name: Install METIS
88+
- name: Install METIS Debug
89+
if: ${{ matrix.config == "Debug"}}
7090
run: |
7191
cd METIS
72-
make config shared=1 prefix=${{runner.workspace}}/installs
92+
make config shared=1 prefix=${{runner.workspace}}/installs gdb=1 debug=1
7393
make
7494
make install
7595
@@ -87,7 +107,7 @@ jobs:
87107
shell: bash
88108
run: |
89109
sudo apt update
90-
sudo apt install libopenblas-dev
110+
sudo apt install libopenblas-dev
91111
92112
- name: Create Build Environment
93113
run: cmake -E make_directory ${{runner.workspace}}/build
@@ -103,12 +123,12 @@ jobs:
103123
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
104124
-DALL_TESTS=${{ matrix.all_tests}}
105125
106-
- name: Build
126+
- name: Build
107127
working-directory: ${{runner.workspace}}/build
108128
run: |
109129
cmake --build . --parallel
110130
111-
- name: Test executable
131+
- name: Test executable
112132
working-directory: ${{runner.workspace}}/build
113133
run: |
114134
./bin/highs --solver=hipo \

.github/workflows/hipo-win-510.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ jobs:
6363
6464
# -DCMAKE_CXX_FLAGS="-I C:/vcpkg/packages/gklib_x64-windows/include/GKlib"
6565
66-
- name: Build
66+
- name: Build
6767
shell: pwsh
6868
working-directory: ${{runner.workspace}}/build
6969
run: |
7070
cmake --build . --parallel --config Release
7171
72-
- name: Test executable
72+
- name: Test executable
7373
shell: pwsh
7474
working-directory: ${{runner.workspace}}/build
7575
run: |

.github/workflows/hipo-win-gh.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
-DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" \
4949
-DALL_TESTS=${{ matrix.all_tests}}
5050
51-
- name: Build
51+
- name: Build
5252
shell: pwsh
5353
working-directory: ${{runner.workspace}}/build
5454
run: |
55-
cmake --build . --parallel --config ${{ matrix.config }}
55+
cmake --build . --parallel --config ${{ matrix.config }}
5656
57-
- name: Test executable
57+
- name: Test executable
5858
shell: pwsh
5959
working-directory: ${{runner.workspace}}/build
6060
run: |
@@ -65,4 +65,4 @@ jobs:
6565
shell: pwsh
6666
working-directory: ${{runner.workspace}}/build
6767
run: |
68-
ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}
68+
ctest --parallel --timeout 300 --output-on-failure -C ${{ matrix.config }}

0 commit comments

Comments
 (0)