Try installing 32-bit python and implementing build-win32

This commit is contained in:
Micah Lee 2022-03-30 12:50:28 -07:00
parent dcfb9640cf
commit 638d35a465
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -13,6 +13,10 @@ workflows:
requires: requires:
- test-cli - test-cli
# - test-gui # - test-gui
- build-win32:
requires:
- test-cli
# - test-gui
jobs: jobs:
test-cli: test-cli:
@ -108,3 +112,45 @@ jobs:
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win-amd64-3.9 -DestinationPath ~\onionshare-win64.zip command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win-amd64-3.9 -DestinationPath ~\onionshare-win64.zip
- store_artifacts: - store_artifacts:
path: ~\onionshare-win64.zip path: ~\onionshare-win64.zip
build-win32:
executor:
name: win/default
shell: powershell.exe
steps:
- checkout
- run:
name: Install chocolately dependencies
command: |
choco install python3 --params "/InstallDir32:C:\Python3.9-32bit" --version=3.9.12
choco install 7zip
choco install go
- run:
name: Install poetry
command: (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | C:\Python3.9-32bit\python -
- run:
name: Install poetry dependencies
command: |
cd ~\project\desktop
poetry install
- run:
name: Get tor
command: |
cd ~\project\desktop
poetry run python .\scripts\get-tor-windows.py
- run:
name: Build meek
command: |
cd ~\project\desktop
python .\scripts\build-meek-client.py
- run:
name: Build
command: |
cd ~\project\desktop
poetry run python .\package\build-windows.py --ci-build
- run:
name: Compress
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win32-3.9 -DestinationPath ~\onionshare-win32.zip
- store_artifacts:
path: ~\onionshare-win32.zip