From b1666054daef8a6589c1944d5fea241d7c98bec3 Mon Sep 17 00:00:00 2001 From: NOT XVilka Date: Sun, 11 Jan 2026 21:36:02 +0800 Subject: [PATCH] ci: fix AppVeyor VS2017 certificate error (#5763) * ci: fix AppVeyor VS2017 certificate error * ci: install Python 3.10 for AppVeyor VS2017 jobs --------- Co-authored-by: Anton Kochkov --- .appveyor.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a898183e9d..b3acbe1139 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -15,7 +15,7 @@ environment: matrix: # VS2017 64 - builder: vs2017_64 - PYTHON: 'C:\\Python37-x64' + PYTHON: 'C:\\Python310' INNO_SETUP: 'C:\\Program Files (x86)\\Inno Setup 5' APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 BUILD_DIR: build @@ -31,7 +31,7 @@ environment: TEST_INCLUDE_HEADERS_CPP: true # VS2017 64 (Dynamic linking) - builder: vs2017_64_dyn - PYTHON: 'C:\\Python37' + PYTHON: 'C:\\Python310' INNO_SETUP: 'C:\\Program Files (x86)\\Inno Setup 5' APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 BUILD_DIR: build @@ -64,11 +64,16 @@ init: # Required software for building install: + # Install Python 3.10 + - cmd: if %builder% == vs2017_64 ( choco install python --version=3.10.11 ) + - cmd: if %builder% == vs2017_64_dyn ( choco install python --version=3.10.11 ) # Update environment variables - ps: $env:RZ_VERSION = (& (Join-Path $env:PYTHON python.exe) sys\\version.py ) - ps: $env:DIST_FOLDER = "rizin-$env:builder-$env:RZ_VERSION" - ps: $env:ARTIFACT_ZIP = "$env:DIST_FOLDER.zip" # Download required packages + - cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install --upgrade pip) + - cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install --upgrade certifi pip-system-certs) - cmd: if defined BUILD_DIR ( %PYTHON%\python.exe -m pip install meson ninja PyYAML tomli) # Build scripts