From 9561bfdcb66933cfbf429677be60956fd0a9c3f6 Mon Sep 17 00:00:00 2001 From: Tobias Heuer Date: Tue, 19 Dec 2023 11:50:15 +0100 Subject: [PATCH] Add MacOS CI build --- .github/workflows/master_ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/master_ci.yml b/.github/workflows/master_ci.yml index b756d11d9..135676321 100644 --- a/.github/workflows/master_ci.yml +++ b/.github/workflows/master_ci.yml @@ -224,3 +224,33 @@ jobs: run: | cd build ./tests/mt_kahypar_tests + + mt_kahypar_macos_build: + name: MacOS Build + runs-on: macos-latest + env: + CI_ACTIVE : 1 + + steps: + - name: Checkout HEAD + uses: actions/checkout@v3 + with: + fetch-depth: 1 + + - name: Install Dependencies + run: | + brew install tbb boost hwloc lcov gcovr + + - name: Install Mt-KaHyPar Multilevel Tests + run: | + git submodule update --init --recursive + rm -rf build + mkdir build + cd build + cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DKAHYPAR_CI_BUILD=ON + make -j2 mt_kahypar_tests + + - name: Run Mt-KaHyPar Tests + run: | + cd build + ./tests/mt_kahypar_tests