mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 06:49:44 -05:00
Try installing 32-bit python and implementing build-win32
This commit is contained in:
parent
dcfb9640cf
commit
638d35a465
@ -13,6 +13,10 @@ workflows:
|
||||
requires:
|
||||
- test-cli
|
||||
# - test-gui
|
||||
- build-win32:
|
||||
requires:
|
||||
- test-cli
|
||||
# - test-gui
|
||||
|
||||
jobs:
|
||||
test-cli:
|
||||
@ -108,3 +112,45 @@ jobs:
|
||||
command: Compress-Archive -LiteralPath ~\project\desktop\build\exe.win-amd64-3.9 -DestinationPath ~\onionshare-win64.zip
|
||||
- store_artifacts:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user