In 32-bit build, use 32-bit python

This commit is contained in:
Micah Lee 2022-03-30 14:30:49 -07:00
parent 27dc8082ec
commit 1d9ce020e5
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 6 additions and 6 deletions

View File

@ -132,27 +132,27 @@ jobs:
msiexec.exe /i "~\Downloads\go1.18.windows-386.msi" /qn msiexec.exe /i "~\Downloads\go1.18.windows-386.msi" /qn
- run: - run:
name: Install poetry (32-bit) name: Install poetry (32-bit)
command: C:\Python39-32bit\python -m pip install poetry command: C:\Python39-32bit\Scripts\pip install poetry
- run: - run:
name: Install poetry dependencies name: Install poetry dependencies
command: | command: |
cd ~\project\desktop cd ~\project\desktop
poetry install C:\Python39-32bit\Scripts\poetry install
- run: - run:
name: Get tor name: Get tor
command: | command: |
cd ~\project\desktop cd ~\project\desktop
poetry run python .\scripts\get-tor-windows.py C:\Python39-32bit\Scripts\poetry run python .\scripts\get-tor-windows.py
- run: - run:
name: Build meek name: Build meek
command: | command: |
cd ~\project\desktop cd ~\project\desktop
python .\scripts\build-meek-client.py C:\Python39-32bit\python .\scripts\build-meek-client.py
- run: - run:
name: Build name: Build
command: | command: |
cd ~\project\desktop cd ~\project\desktop
poetry run python .\package\build-windows.py --ci-build C:\Python39-32bit\Scripts\poetry run python .\package\build-windows.py --ci-build
- run: - run:
name: Compress name: Compress
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win32-3.9 -DestinationPath ~\onionshare-win32.zip command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win32-3.9 -DestinationPath ~\onionshare-win32.zip

View File

@ -185,7 +185,7 @@ def main():
print("> Building binaries") print("> Building binaries")
run( run(
[ [
shutil.which("python"), "python",
"setup-freeze.py", "setup-freeze.py",
"build", "build",
], ],