one more coverage #1057
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mt-KaHyPar Fast CI | |
# on: | |
# push: | |
# branches-ignore: | |
# - master | |
jobs: | |
mt_kahypar_compiler_version_test: | |
name: Ubuntu Build | |
strategy: | |
matrix: | |
compiler: [ { os: ubuntu-22.04, cpp: g++-11, cc: gcc-11, install_cmd: g++-11 gcc-11 }, | |
{ os: ubuntu-24.04, cpp: g++-14, cc: gcc-14, install_cmd: g++-14 gcc-14 }, | |
{ os: ubuntu-22.04, cpp: clang++, cc: clang, install_cmd: clang } ] | |
runs-on: ${{ matrix.compiler.os }} | |
env: | |
CI_ACTIVE : 1 | |
steps: | |
- name: Checkout HEAD | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install libtbb-dev libboost-program-options-dev libhwloc-dev lcov gcovr ${{ matrix.compiler.install_cmd }} | |
- name: Install Mt-KaHyPar | |
env: | |
CC: ${{ matrix.compiler.cc }} | |
CXX: ${{ matrix.compiler.cpp }} | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake .. --preset=minimal-dev -DKAHYPAR_CI_BUILD=ON | |
make -j2 MtKaHyPar | |
mt_kahypar_test_suite: | |
name: Test Suite | |
runs-on: ubuntu-24.04 | |
env: | |
CI_ACTIVE : 1 | |
steps: | |
- name: Checkout HEAD | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install libtbb-dev libhwloc-dev libboost-program-options-dev lcov gcovr g++-14 gcc-14 | |
- name: Install Mt-KaHyPar Test Suite | |
env: | |
CC: gcc-14 | |
CXX: g++-14 | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake .. --preset=minimal-dev -DKAHYPAR_USE_GCOV=ON -DKAHYPAR_CI_BUILD=ON | |
make -j2 mtkahypar_tests | |
- name: Run Mt-KaHyPar Tests | |
run: | | |
cd build | |
./tests/mtkahypar_tests | |
mt_kahypar_c_interface_tests: | |
name: C Interface Tests | |
runs-on: ubuntu-24.04 | |
env: | |
CI_ACTIVE : 1 | |
steps: | |
- name: Checkout HEAD | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install libtbb-dev libhwloc-dev libboost-program-options-dev lcov gcovr | |
- name: Run Mt-KaHyPar C Library Interface Tests | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake .. --preset=dev -DKAHYPAR_CI_BUILD=ON | |
make -j2 mtkahypar_interface_test | |
mt_kahypar_python_interface_tests: | |
name: Python Interface Tests | |
runs-on: ubuntu-24.04 | |
env: | |
CI_ACTIVE : 1 | |
steps: | |
- name: Checkout HEAD | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install libtbb-dev libhwloc-dev libboost-program-options-dev lcov gcovr | |
- name: Build Mt-KaHyPar Python Interface | |
run: | | |
rm -rf build | |
mkdir build | |
cd build | |
cmake .. --preset=python -DKAHYPAR_CI_BUILD=ON | |
make mtkahypar_python -j2 | |
- name: Run Mt-KaHyPar Python Interface Tests | |
run: | | |
cd python/tests | |
cp ../../build/python/mtkahypar*.so mtkahypar.so | |
python3 test_mtkahypar.py -v |