Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
9b1f0b911b | |||
a86ba80bce | |||
062d07ed23 | |||
5b4bb54495 | |||
8dc25f5ca6 |
@ -7,7 +7,7 @@ workspace:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: git.argideli.com/quertex/docker-win-pyinstaller64:latest
|
||||
image: git.quertex.com/quertex/docker-win-pyinstaller64:latest
|
||||
pull: always
|
||||
commands:
|
||||
# prepare output directory
|
||||
@ -29,7 +29,7 @@ steps:
|
||||
- pip3 config set global.trusted-host "pypi.org files.pythonhosted.org pypi.python.org" --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org
|
||||
- pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip setuptools
|
||||
- pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --ignore-installed -r requirements.txt
|
||||
- pyinstaller --onefile --name akmi-utils.bin -y --distpath /drone/src/out/ /drone/src/widget.py
|
||||
- pyinstaller --onefile --copy-metadata msoffice2pdf --collect-submodules --name akmi-utils.bin -y --distpath /drone/src/out/ /drone/src/widget.py
|
||||
- deactivate
|
||||
- cp -v out/akmi-utils.bin dist/
|
||||
# clean up
|
||||
@ -39,13 +39,13 @@ steps:
|
||||
# windows build
|
||||
- wine64 c:/python/python.exe -m pip config --user set global.progress_bar off
|
||||
- wine64 c:/python/python.exe -m pip install --prefer-binary -r z:/drone/src/requirements.txt
|
||||
- wine64 c:/python/Scripts/pyinstaller.exe --onefile --name akmi-utils -y --distpath z:/drone/src/out z:/drone/src/widget.py
|
||||
- wine64 c:/python/Scripts/pyinstaller.exe --onefile --copy-metadata msoffice2pdf --collect-submodules --name akmi-utils -y --distpath z:/drone/src/out z:/drone/src/widget.py
|
||||
- cp -v out/akmi-utils.exe dist/
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://git.argideli.com
|
||||
base_url: https://git.quertex.com
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files: /drone/src/dist/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user