[ci] Finish setting up

This commit is contained in:
Fabian 2022-09-30 20:29:10 +02:00
parent 06be91dfa0
commit 5ae7650e63

View File

@ -59,8 +59,8 @@ update_windows_deps:
# commit from linux, because setting up SSH in Windows is a fucking nightmare # commit from linux, because setting up SSH in Windows is a fucking nightmare
commit_windows_deps: commit_windows_deps:
#needs: needs:
# - update_windows_deps - update_windows_deps
image: alpine image: alpine
before_script: before_script:
- apk add --update git openssh-client - apk add --update git openssh-client
@ -100,12 +100,14 @@ package_windows:
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
before_script: before_script:
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- choco install python --version=$PYTHON_VERSION -y --no-progress - choco install python --version=$PYTHON_VERSION -y --no-progress
- C:\\Python310\\python.exe --version - refreshenv
- C:\\Python310\\python.exe -m pip install pipenv - python --version
- C:\\Python310\\python.exe -m pipenv sync --dev - pip install pipenv
- pipenv sync --dev
script: 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: artifacts:
paths: paths:
- dist/fime_windows_* - dist/fime_windows_*