Skip to content

Commit

Permalink
debian package ci
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Dec 3, 2024
1 parent 83848af commit 0fd3f0d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/debian_build_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Mt-KaHyPar Debian Package

on:
push

jobs:
package_linux:
name: Debian Package

runs-on: ubuntu-20.04 # use old ubuntu for better backwards compatibility with system libraries
env:
CI_ACTIVE : 1

steps:
- uses: actions/checkout@v4

# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# with:
# platforms: all

- name: Install Dependencies
run: |
sudo apt-get install libtbb-dev libhwloc-dev gcc-9 g++-9
- name: Build Mt-KaHyPar Debian Package
env:
CC: gcc-9
CXX: g++-9
run: |
rm -rf build
mkdir build
cd build
cmake .. --preset=default -DKAHYPAR_CI_BUILD=ON -DKAHYPAR_DOWNLOAD_BOOST=ON -DKAHYPAR_STATIC_LINK_DEPENDENCIES=ON \
-KAHYPAR_ENABLE_ARCH_COMPILE_OPTIMIZATIONS=OFF -DKAHYPAR_ENABLE_THREAD_PINNING=OFF -DKAHYPAR_BUILD_PACKAGE=ON
make -j4
make package-mtkahypar-deb
- uses: actions/upload-artifact@v4
with:
name: debian-package
path: ./build/packages/*.deb

0 comments on commit 0fd3f0d

Please sign in to comment.