wtf is this shit
This commit is contained in:
parent
1353a5b4ee
commit
3f1e5eb2ec
@ -1,6 +1,7 @@
|
||||
image: python:3.11
|
||||
image: python:3.10
|
||||
|
||||
variables:
|
||||
WINDOWS_PYTHON_PACKAGE_NAME: "python310"
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
UPDATE_WINDOWS_DEPS:
|
||||
@ -24,8 +25,6 @@ prepare:
|
||||
before_script:
|
||||
- pip install setuptools_scm>=6.2
|
||||
script:
|
||||
- PYTHON_VERSION=$(python --version | cut -d " " -f2)
|
||||
- echo "PYTHON_VERSION=${PYTHON_VERSION}" | tee -a build.env
|
||||
- VERSION=$(python -m setuptools_scm)
|
||||
- echo "VERSION=${VERSION}" | tee -a build.env
|
||||
- echo "LINUX_AMD64_BINARY=fime_linux_amd64_${VERSION}" | tee -a build.env
|
||||
@ -56,7 +55,7 @@ update_windows_deps:
|
||||
- prepare
|
||||
before_script:
|
||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||
- choco install $WINDOWS_PYTHON_PACKAGE_NAME -y --no-progress
|
||||
- refreshenv
|
||||
- python --version
|
||||
- pip install pipenv
|
||||
@ -118,7 +117,7 @@ package_windows:
|
||||
- if: $CI_COMMIT_TAG
|
||||
before_script:
|
||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||
- choco install $WINDOWS_PYTHON_PACKAGE_NAME -y --no-progress
|
||||
- refreshenv
|
||||
- python --version
|
||||
- pip install pipenv
|
||||
|
Loading…
Reference in New Issue
Block a user