Skip to content

Split omega into various components #637

Split omega into various components

Split omega into various components #637

Workflow file for this run

name: hipo-macos
on: [push, pull_request]
jobs:
macos_gh:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
config: [Release, Debug]
all_tests: [OFF]
steps:
- uses: actions/checkout@v4
- name: Checkout GKlib
uses: actions/checkout@v4
with:
repository: KarypisLab/GKlib
ref: master
path: GKlib
- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: KarypisLab/METIS
ref: master
path: METIS
- name: Create installs dir
working-directory: ${{runner.workspace}}
run: |
mkdir installs
ls
- name: Install GKlib
run: |
cd GKlib
make config prefix=${{runner.workspace}}/installs
make
make install
- name: Install METIS
run: |
cd METIS
make config prefix=${{runner.workspace}}/installs
make
make install
- name: Check METIS and GKlib
working-directory: ${{runner.workspace}}
run: |
cd installs
ls
ls lib
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
-DALL_TESTS=${{ matrix.all_tests }} \
-DMETIS_ROOT=${{runner.workspace}}/installs \
-DGKLIB_ROOT=${{runner.workspace}}/installs
- name: Build
working-directory: ${{runner.workspace}}/build
run: |
cmake --build . --parallel
- name: Test executable
working-directory: ${{runner.workspace}}/build
run: ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
- name: Ctest
working-directory: ${{runner.workspace}}/build
run: |
ctest --parallel --timeout 300 --output-on-failure
macos_510-ts:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
config: [Release, Debug]
all_tests: [ON, OFF]
steps:
- uses: actions/checkout@v4
- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: galabovaa/METIS
ref: 510-ts
path: METIS
- name: Create installs dir
working-directory: ${{runner.workspace}}
run: |
mkdir installs
ls
- name: Install METIS
run: |
cmake \
-S $GITHUB_WORKSPACE/METIS \
-B build \
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
cmake --build build --parallel
cmake --install build
- name: Check METIS and GKlib
working-directory: ${{runner.workspace}}
run: |
cd installs
ls
ls lib
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
-DALL_TESTS=${{ matrix.all_tests }} \
-DMETIS_ROOT=${{runner.workspace}}/installs \
# -DGKLIB_ROOT=${{runner.workspace}}/installs
- name: Build
working-directory: ${{runner.workspace}}/build
run: |
cmake --build . --parallel
- name: Test executable
working-directory: ${{runner.workspace}}/build
run: ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
- name: Ctest
working-directory: ${{runner.workspace}}/build
run: |
ctest --parallel --timeout 300 --output-on-failure
macos_521-ts:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
config: [Release, Debug]
all_tests: [ON, OFF]
steps:
- uses: actions/checkout@v4
- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: galabovaa/METIS
ref: 521-ts
path: METIS
- name: Create installs dir
working-directory: ${{runner.workspace}}
run: |
mkdir installs
ls
- name: Install METIS
run: |
cmake \
-S $GITHUB_WORKSPACE/METIS \
-B build \
-DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib \
-DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/installs \
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
cmake --build build --parallel
cmake --install build
- name: Check METIS and GKlib
working-directory: ${{runner.workspace}}
run: |
cd installs
ls
ls lib
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
-DALL_TESTS=${{ matrix.all_tests }} \
-DMETIS_ROOT=${{runner.workspace}}/installs \
# -DGKLIB_ROOT=${{runner.workspace}}/installs
- name: Build
working-directory: ${{runner.workspace}}/build
run: |
cmake --build . --parallel
- name: Test executable
working-directory: ${{runner.workspace}}/build
run: ./bin/highs --solver=hipo $GITHUB_WORKSPACE/check/instances/afiro.mps
- name: Ctest
working-directory: ${{runner.workspace}}/build
run: |
ctest --parallel --timeout 300 --output-on-failure