Use batonogov/pyinstaller instead of custom wine setup
This commit is contained in:
@@ -9,26 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
|
container:
|
||||||
|
image: batonogov/pyinstaller:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Wine
|
- name: Install dependencies
|
||||||
run: |
|
run: pip install .
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y wine wine64 wget
|
|
||||||
|
|
||||||
- name: Install Windows Python
|
|
||||||
run: |
|
|
||||||
wget -nv https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe
|
|
||||||
wine python-3.13.0-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
|
|
||||||
wine pip install pyinstaller
|
|
||||||
|
|
||||||
- name: Build executable
|
- name: Build executable
|
||||||
run: |
|
run: pyinstaller mobbing_notification.spec
|
||||||
wine pip install .
|
|
||||||
wine pyinstaller mobbing_notification.spec
|
|
||||||
|
|
||||||
# - name: Create ZIP archive
|
# - name: Create ZIP archive
|
||||||
# run: Compress-Archive -Path ./dist/wunderland-generator.exe -Destination ./dist/wunderland-generator.zip
|
# run: Compress-Archive -Path ./dist/wunderland-generator.exe -Destination ./dist/wunderland-generator.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user