[CI] Changed VS version to see if it will prevent triggering AV

This commit is contained in:
Gliniak 2024-07-08 21:30:46 +02:00
parent bd77aae7d0
commit 5d3240d492
4 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ jobs:
build-windows:
name: Build (Windows) # runner.os can't be used here
runs-on: windows-2022
runs-on: windows-2019
needs: lint
env:
POWERSHELL_TELEMETRY_OPTOUT: 1

2
xb.bat
View File

@ -8,7 +8,7 @@ REM Environment Validation
REM ============================================================================
SET "PYTHON_MINIMUM_VERSION[0]=3"
SET "PYTHON_MINIMUM_VERSION[1]=8"
SET "PYTHON_MINIMUM_VERSION[1]=7"
CALL :check_python
IF %_RESULT% NEQ 0 (
ECHO.

2
xb.ps1
View File

@ -14,7 +14,7 @@ foreach ($pythonExecutable in $pythonExecutables) {
}
}
# Neither found, error and exit
$pythonMinimumVer = 3,8
$pythonMinimumVer = 3,7
if (!$pythonPath) {
Write-FatalError "ERROR: Python $($pythonMinimumVer[0]).$($pythonMinimumVer[1])+ must be installed and on PATH:`nhttps://www.python.org/"
}

View File

@ -137,7 +137,7 @@ def main():
print('')
# Check python version.
python_minimum_ver=3,8
python_minimum_ver=3,7
if not sys.version_info[:2] >= (python_minimum_ver[0], python_minimum_ver[1]):
print('ERROR: Python ', python_minimum_ver[0], '.', python_minimum_ver[1], '+ must be installed and on PATH', sep='')
sys.exit(1)