update drone ci
This commit is contained in:
parent
8dc25f5ca6
commit
5b4bb54495
@ -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 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 pip setuptools
|
||||||
- pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --ignore-installed -r requirements.txt
|
- pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --ignore-installed -r requirements.txt
|
||||||
- pyinstaller --onefile --copy-metadata --name akmi-utils.bin -y --distpath /drone/src/out/ /drone/src/widget.py
|
- pyinstaller --onefile --copy-metadata pyproj --name akmi-utils.bin -y --distpath /drone/src/out/ /drone/src/widget.py
|
||||||
- deactivate
|
- deactivate
|
||||||
- cp -v out/akmi-utils.bin dist/
|
- cp -v out/akmi-utils.bin dist/
|
||||||
# clean up
|
# clean up
|
||||||
@ -39,7 +39,7 @@ steps:
|
|||||||
# windows build
|
# windows build
|
||||||
- wine64 c:/python/python.exe -m pip config --user set global.progress_bar off
|
- 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/python.exe -m pip install --prefer-binary -r z:/drone/src/requirements.txt
|
||||||
- wine64 c:/python/Scripts/pyinstaller.exe --onefile --copy-metadata --name akmi-utils -y --distpath z:/drone/src/out z:/drone/src/widget.py
|
- wine64 c:/python/Scripts/pyinstaller.exe --onefile --copy-metadata pyproj --name akmi-utils -y --distpath z:/drone/src/out z:/drone/src/widget.py
|
||||||
- cp -v out/akmi-utils.exe dist/
|
- cp -v out/akmi-utils.exe dist/
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user