Attempt to use python 3.8.7 for windows 7 compatibility
This commit is contained in:
parent
996b0d1b15
commit
79c0ea2225
@ -1,7 +1,7 @@
|
|||||||
# This CI configuration file assumes we are going to use gitlab Shared runners at gitlab.com
|
# This CI configuration file assumes we are going to use gitlab Shared runners at gitlab.com
|
||||||
# the next variables are customized to the filepaths used when installing python and nsis with chocolatey.
|
# the next variables are customized to the filepaths used when installing python and nsis with chocolatey.
|
||||||
variables:
|
variables:
|
||||||
PYTHON3_32: "C:\\python39\\python.exe"
|
PYTHON3_32: "C:\\python38\\python.exe"
|
||||||
NSIS: "C:\\program files (x86)\\nsis\\makensis.exe"
|
NSIS: "C:\\program files (x86)\\nsis\\makensis.exe"
|
||||||
|
|
||||||
# This configures the environment for both channels
|
# This configures the environment for both channels
|
||||||
@ -14,7 +14,8 @@ variables:
|
|||||||
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
|
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
|
||||||
- echo ${time}
|
- echo ${time}
|
||||||
- echo "started by ${GITLAB_USER_NAME}"
|
- echo "started by ${GITLAB_USER_NAME}"
|
||||||
- choco install python3 nsis -y -ForceX86
|
- choco install python --version 3.8.7 -y -ForceX86
|
||||||
|
- choco install nsis -y -ForceX86
|
||||||
- '&$env:PYTHON3_32 -V'
|
- '&$env:PYTHON3_32 -V'
|
||||||
- '&$env:PYTHON3_32 -m pip install --upgrade pip'
|
- '&$env:PYTHON3_32 -m pip install --upgrade pip'
|
||||||
- '&$env:PYTHON3_32 -m pip install --upgrade -r requirements.txt'
|
- '&$env:PYTHON3_32 -m pip install --upgrade -r requirements.txt'
|
||||||
@ -105,7 +106,7 @@ alpha32:
|
|||||||
- cd ..
|
- cd ..
|
||||||
- move src\socializer.zip socializer_x86_alpha.zip
|
- move src\socializer.zip socializer_x86_alpha.zip
|
||||||
- '&$env:PYTHON3_32 scripts/generate_update_file.py'
|
- '&$env:PYTHON3_32 scripts/generate_update_file.py'
|
||||||
- '&$env:PYTHON3_32 scripts/upload.py'
|
- '&$env:PYTHON3_32 scripts/upload.py $FTP_SERVER $FTP_USERNAME $FTP_PASSWORD'
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user