Skip to content

Commit

Permalink
First try to build with pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Jan 29, 2025
1 parent 8ff6251 commit 5485dca
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,24 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: camillagui.zip
asset_name: camillagui.zip
tag: ${{ github.ref }}
tag: ${{ github.ref }}

pyinstaller_win:
runs-on: windows-latest
needs: build_and_test_be
steps:
- name: Download complete distribution
uses: actions/download-artifact@v4
with:
name: camillagui-backend
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install -r requirements.txt
- run: pip install pyinstaller
- run: pyinstaller .\main.py --add-data .\config\:config --add-data .\build\:build --collect-data camilladsp_plot --name camillagui_backend
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: dist
path: standalone_win

0 comments on commit 5485dca

Please sign in to comment.