update drone ci
This commit is contained in:
parent
18b5c06b17
commit
ce0c8b0af0
@ -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 --name akmi-utils.bin -y --distpath /drone/src/out/ /drone/src/widget.py
|
||||
- deactivate
|
||||
- cp -v out/akmi-utils.bin dist/
|
||||
# clean up
|
||||
@ -39,7 +39,7 @@ 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 --name akmi-utils -y --distpath z:/drone/src/out z:/drone/src/widget.py
|
||||
- cp -v out/akmi-utils.exe dist/
|
||||
|
||||
- name: gitea_release
|
||||
|
Loading…
x
Reference in New Issue
Block a user