[ci] Finish setting up
This commit is contained in:
parent
06be91dfa0
commit
5ae7650e63
@ -59,8 +59,8 @@ update_windows_deps:
|
||||
|
||||
# commit from linux, because setting up SSH in Windows is a fucking nightmare
|
||||
commit_windows_deps:
|
||||
#needs:
|
||||
# - update_windows_deps
|
||||
needs:
|
||||
- update_windows_deps
|
||||
image: alpine
|
||||
before_script:
|
||||
- apk add --update git openssh-client
|
||||
@ -100,12 +100,14 @@ package_windows:
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
before_script:
|
||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||
- C:\\Python310\\python.exe --version
|
||||
- C:\\Python310\\python.exe -m pip install pipenv
|
||||
- C:\\Python310\\python.exe -m pipenv sync --dev
|
||||
- refreshenv
|
||||
- python --version
|
||||
- pip install pipenv
|
||||
- pipenv sync --dev
|
||||
script:
|
||||
- C:\\Python310\\python.exe -m pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i icon.ico src/fime/main.py
|
||||
- pipenv run pyinstaller --onefile --windowed --name "${WINDOWS_AMD64_BINARY}" -i icon.ico src/fime/main.py
|
||||
artifacts:
|
||||
paths:
|
||||
- dist/fime_windows_*
|
||||
|
Loading…
Reference in New Issue
Block a user