diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5e4b57d..ba27d19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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_*