Skip to content

Commit

Permalink
Include multithreaded to deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
x-mass committed Dec 22, 2023
1 parent 99bd4f8 commit b29d994
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
ci-cd-ref: 'v1.1.2'
secrets: inherit


build-linux:
runs-on: [ "self-hosted", "aws_autoscaling"]

needs:
- handle-syncwith

env:
CONTAINER_TMP: /opt/
HOST_TMP: /home/runner/work/_temp/
Expand Down Expand Up @@ -84,12 +84,12 @@ jobs:
/__w/proof-producer/proof-producer/**
!/__w/proof-producer/proof-producer/**/.git/**
refs: ${{ needs.handle-syncwith.outputs.prs-refs }}

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

# Workaround: https://github.com/actions/checkout/issues/1169
- name: Mark directory as safe
run: |
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
-B build \
-DCMAKE_BUILD_TYPE=Release
- name: Build proof-producer
- name: Build proof-producers (single- and multithreaded)
# working-directory: build
env:
BOOST_ROOT: "${{ steps.install-boost.outputs.BOOST_ROOT }}"
Expand All @@ -136,8 +136,10 @@ jobs:
run: |
mkdir -p .debpkg/usr/bin
cp ./build/bin/proof-generator/proof-generator .debpkg/usr/bin
cp ./build/bin/proof-generator-multithreaded/proof-generator-multithreaded .debpkg/usr/bin
chmod +x .debpkg/usr/bin/proof-generator
chmod +x .debpkg/usr/bin/proof-generator-multithreaded
mkdir -p .debpkg/DEBIAN
- uses: jiro4989/build-deb-action@v3
Expand Down

0 comments on commit b29d994

Please sign in to comment.