Skip to content

Commit

Permalink
sudo is actually necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Dec 4, 2024
1 parent e224e87 commit 421ecac
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/debian_build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Install Dependencies
run: |
echo "deb http://cz.archive.ubuntu.com/ubuntu jammy main universe" | sudo tee -a /etc/apt/sources.list
apt-get -y update
apt-get -y install libtbb-dev libhwloc-dev gcc-9 g++-9
sudo apt-get -y update
sudo apt-get -y install libtbb-dev libhwloc-dev gcc-9 g++-9
- name: Build Mt-KaHyPar Debian Package
env:
Expand Down Expand Up @@ -68,17 +68,20 @@ jobs:
--volume "${PWD}/artifacts:/artifacts"
run: |
# install dependencies
echo "deb http://cz.archive.ubuntu.com/ubuntu jammy main universe" | tee -a /etc/apt/sources.list
apt-get -y update
apt-get -y install libtbb-dev libhwloc-dev gcc-9 g++-9
apt-get -y install libtbb-dev libhwloc-dev gcc-9 g++-9 cmake build-essential
# actual installation
mkdir build && cd build
cmake .. --preset=default -DCMAKE_POSITION_INDEPENDENT_CODE=On -DKAHYPAR_CI_BUILD=ON \
-DKAHYPAR_DOWNLOAD_BOOST=ON -DKAHYPAR_STATIC_LINK_DEPENDENCIES=ON \
-DKAHYPAR_ENABLE_ARCH_COMPILE_OPTIMIZATIONS=OFF -DKAHYPAR_ENABLE_THREAD_PINNING=OFF -DKAHYPAR_BUILD_PACKAGE=ON
make -j4
make package-mtkahypar-deb
# Copy built binary file to artifacts directory
# copy result to artifacts directory
cp packages/*.deb /artifacts/
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 421ecac

Please sign in to comment.