mirror of
https://github.com/rizinorg/rizin
synced 2026-08-22 20:26:16 -04:00
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 <anton.kochkov@gmail.com>
This commit is contained in:
parent
383636a5b2
commit
b1666054da
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue