Create new windows.py script that combines various Windows build tasks, and update CI to use it

This commit is contained in:
Micah Lee 2022-03-31 18:34:41 -07:00
parent 686ea63580
commit 4297a5a6dc
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
6 changed files with 1064 additions and 477 deletions

View file

@ -102,10 +102,11 @@ jobs:
cd ~\project\desktop
python .\scripts\build-meek-client.py
- run:
name: Build
name: Build OnionShare
command: |
cd ~\project\desktop
poetry run python .\package\build-windows.py --ci-build
poetry run python .\setup-freeze.py build
poetry run python .\package\windows.py cleanup-build
- run:
name: Compress
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win-amd64-3.9 -DestinationPath ~\onionshare-win64.zip
@ -149,10 +150,11 @@ jobs:
cd ~\project\desktop
C:\Python-32bit\python .\scripts\build-meek-client.py
- run:
name: Build
name: Build OnionShare
command: |
cd ~\project\desktop
C:\Python-32bit\Scripts\poetry run python .\setup-freeze.py build
C:\Python-32bit\Scripts\poetry run python .\package\windows.py cleanup-build
- run:
name: Compress
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win32-3.9 -DestinationPath ~\onionshare-win32.zip