Skip to content

Commit

Permalink
add poetry build step (#201)
Browse files Browse the repository at this point in the history
* add poetry build step

* set explicit name to artifact
  • Loading branch information
dromer authored Oct 13, 2024
1 parent 44ebd6d commit bbc19fc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,32 @@ jobs:
- name: Run tox
run: tox

binary:

runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
lfs: true
submodules: true
- name: Initialize lfs
run: git lfs pull
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install poetry poetry-pyinstaller-plugin
- name: Build binaries
run: poetry build

- uses: actions/upload-artifact@v4
with:
name: heavy-binary-linux-x86_64
path: dist/pyinstaller/manylinux_2_31_x86_64/Heavy

dispatch:
needs: build
strategy:
Expand Down

0 comments on commit bbc19fc

Please sign in to comment.