EXE compile
This commit is contained in:
parent
39e3085586
commit
c32fd865ba
3 changed files with 21 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
upload-release:
|
||||
compile-exe:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.venreys-lair.xyz/venrey/pythoncrosscompile:latest
|
||||
|
|
@ -8,9 +8,11 @@ jobs:
|
|||
- run: mkdir -p /dist/release
|
||||
- run: apt-get install zip git -y
|
||||
- run: git clone https://git.venreys-lair.xyz/Venrey/Eddie-Roden-Slide-Tool .
|
||||
- run: wine ~/.wine/drive_c/Program\ Files/Python312/Scripts/pyinstaller.exe --onefile main.py
|
||||
- run: mv ./dist/main.exe ./ImageGen.exe
|
||||
- run: zip /dist/release/Winodws.zip ./fonts ./templets ./Numbers.xlsx ./ImageGen.exe
|
||||
- run: wine ~/.wine/drive_c/Program\ Files/Python312/python.exe -m pip install pillow openpyxl matplotlib
|
||||
- run: wine ~/.wine/drive_c/Program\ Files/Python312/Scripts/pyinstaller.exe --clean --collect-all pillow --collect-all openpyxl --collect-all matplotlib main.py
|
||||
- run: mv ./dist/main/main.exe ./ImageGen.exe
|
||||
- run: mv ./dist/main/_internal ./
|
||||
- run: zip -r /dist/release/Winodws.zip ./fonts ./templets ./Numbers.xlsx ./_internal ./ImageGen.exe
|
||||
- uses: actions/forgejo-release@v2
|
||||
with:
|
||||
direction: upload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue