mirror of
				https://github.com/MCV-Software/TWBlue.git
				synced 2025-10-31 12:12:01 +00:00 
			
		
		
		
	Set python versions to 3.10.8 in CI config File and use a custom WXPython for 32-bit support
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| variables: | variables: | ||||||
|   GIT_SUBMODULE_STRATEGY: recursive |   GIT_SUBMODULE_STRATEGY: recursive | ||||||
|   PYTHON: "C:\\python37\\python.exe" |   PYTHON: "C:\\python310\\python.exe" | ||||||
|   NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" |   NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" | ||||||
|  |  | ||||||
| stages: | stages: | ||||||
| @@ -17,9 +17,10 @@ twblue32: | |||||||
|     - 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 python --version 3.7.9 -y -ForceX86 |     - choco install python --version 3.10.8 -y -ForceX86 | ||||||
|     - '&$env:PYTHON -V' |     - '&$env:PYTHON -V' | ||||||
|     - '&$env:PYTHON -m pip install --upgrade pip' |     - '&$env:PYTHON -m pip install --upgrade pip' | ||||||
|  |     - '&$env:PYTHON -m pip install --upgrade https://github.com/josephsl/wxpy32whl/blob/main/wxPython-4.2.0-cp310-cp310-win32.whl?raw=true' | ||||||
|     - '&$env:PYTHON -m pip install --upgrade -r requirements.txt' |     - '&$env:PYTHON -m pip install --upgrade -r requirements.txt' | ||||||
|   stage: build |   stage: build | ||||||
|   interruptible: true |   interruptible: true | ||||||
| @@ -56,7 +57,7 @@ twblue64: | |||||||
|     - 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 python --version 3.7.9 -y |     - choco install python --version 3.10.8 -y | ||||||
|     - '&$env:PYTHON -V' |     - '&$env:PYTHON -V' | ||||||
|     - '&$env:PYTHON -m pip install --upgrade pip' |     - '&$env:PYTHON -m pip install --upgrade pip' | ||||||
|     - '&$env:PYTHON -m pip install --upgrade -r requirements.txt' |     - '&$env:PYTHON -m pip install --upgrade -r requirements.txt' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user