1
1
version : 1.0.{build}
2
- branches :
3
- only :
4
- - master
5
- - support-new-python-versions
6
2
7
3
environment :
8
- BOOST_VERSION : " 1.82 .0"
9
- BOOST_VERSION_UNDERSCORED : " 1_82_0 "
4
+ BOOST_VERSION : " 1.83 .0"
5
+ BOOST_VERSION_UNDERSCORED : " 1_83_0 "
10
6
matrix :
11
- # Python 3.6
12
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
13
- platform : win32
14
- ADDR_MODEL : 32
15
- ARCH : v142_x86
16
- MSVCVERSION : 14.2
17
- PYTHONPATH : c:\Python36\
18
- PY_VER : 36
19
- BOOST_CFG : >-
20
- using python : 3.6 : c:/python36/python.exe : c:/python36/include : c:/python36/libs ;
21
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
22
- platform : x64
23
- ADDR_MODEL : 64
24
- ARCH : v142_x64
25
- MSVCVERSION : 14.2
26
- PYTHONPATH : c:\Python36-x64\
27
- PY_VER : 36
28
- BOOST_CFG : >-
29
- using python : 3.6 : c:/python36-x64/python.exe : c:/python36-x64/include : c:/python36-x64/libs ;
30
-
31
- # Python 3.7
32
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
33
- platform : win32
34
- ADDR_MODEL : 32
35
- ARCH : v142_x86
36
- MSVCVERSION : 14.2
37
- PYTHONPATH : c:\Python37\
38
- PY_VER : 37
39
- BOOST_CFG : >-
40
- using python : 3.7 : c:/python37/python.exe : c:/python37/include : c:/python37/libs ;
41
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
42
- platform : x64
43
- ADDR_MODEL : 64
44
- ARCH : v142_x64
45
- MSVCVERSION : 14.2
46
- PYTHONPATH : c:\Python37-x64\
47
- PY_VER : 37
48
- BOOST_CFG : >-
49
- using python : 3.7 : c:/python37-x64/python.exe : c:/python37-x64/include : c:/python37-x64/libs ;
50
-
51
- # Python 3.8
52
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
53
- platform : win32
54
- ADDR_MODEL : 32
55
- ARCH : v142_x86
56
- MSVCVERSION : 14.2
57
- PYTHONPATH : c:\Python38\
58
- PY_VER : 38
59
- BOOST_CFG : >-
60
- using python : 3.8 : c:/python38/python.exe : c:/python38/include : c:/python38/libs ;
61
- - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
62
- platform : x64
63
- ADDR_MODEL : 64
64
- ARCH : v142_x64
65
- MSVCVERSION : 14.2
66
- PYTHONPATH : c:\Python38-x64\
67
- PY_VER : 38
68
- BOOST_CFG : >-
69
- using python : 3.8 : c:/python38-x64/python.exe : c:/python38-x64/include : c:/python38-x64/libs ;
70
-
71
7
# Python 3.9
72
8
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
73
9
platform : win32
@@ -128,9 +64,31 @@ environment:
128
64
BOOST_CFG : >-
129
65
using python : 3.11 : c:/python311-x64/python.exe : c:/python311-x64/include : c:/python311-x64/libs ;
130
66
67
+ # Python 3.12
68
+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
69
+ platform : win32
70
+ ADDR_MODEL : 32
71
+ ARCH : v142_x86
72
+ MSVCVERSION : 14.2
73
+ PYTHON_DOWNLOAD_URL : https://www.python.org/ftp/python/3.12.0/python-3.12.0.exe
74
+ PYTHONPATH : c:\Python312\
75
+ PY_VER : 312
76
+ BOOST_CFG : >-
77
+ using python : 3.12 : c:/python312/python.exe : c:/python312/include : c:/python312/libs ;
78
+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
79
+ platform : x64
80
+ ADDR_MODEL : 64
81
+ ARCH : v142_x64
82
+ MSVCVERSION : 14.2
83
+ PYTHON_DOWNLOAD_URL : https://www.python.org/ftp/python/3.12.0/python-3.12.0-amd64.exe
84
+ PYTHONPATH : c:\Python312-x64\
85
+ PY_VER : 312
86
+ BOOST_CFG : >-
87
+ using python : 3.12 : c:/python312-x64/python.exe : c:/python312-x64/include : c:/python312-x64/libs ;
88
+
131
89
init :
132
90
# RDP from start
133
- - ps : iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
91
+ # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
134
92
# Boost
135
93
- cmd : cd "C:\projects\"
136
94
- cmd : md boost_build
@@ -146,6 +104,21 @@ install:
146
104
# Setting Visual Compiler
147
105
- cmd : echo "Platform='%Platform%'"
148
106
- cmd : set PYTHONPATH=%PYTHONPATH%
107
+ # install Python, if necessary
108
+ - ps : |
109
+ if (!(Test-Path -Path $env:PYTHONPATH) -and $env:PYTHON_DOWNLOAD_URL) {
110
+ Write-Host "Installing Python $($env:PY_VER)" -ForegroundColor Cyan
111
+
112
+ Write-Host "Downloading $($env:PYTHON_DOWNLOAD_URL)..."
113
+ $exePath = "$env:TEMP\python-installer.exe"
114
+ (New-Object Net.WebClient).DownloadFile($env:PYTHON_DOWNLOAD_URL, $exePath)
115
+
116
+ Write-Host "Installing..."
117
+ cmd /c start /wait $exePath /quiet TargetDir="$env:PYTHONPATH" Shortcuts=0 Include_launcher=1 InstallLauncherAllUsers=1 Include_debug=1
118
+ Remove-Item $exePath
119
+
120
+ Write-Host "Installed Python $($env:PY_VER) to $($env:PYTHONPATH)" -ForegroundColor Green
121
+ }
149
122
# building bootstrap
150
123
- cmd : cd C:/projects/boost_build/boost_%BOOST_VERSION_UNDERSCORED%
151
124
- cmd : C:/projects/boost_build/boost_%BOOST_VERSION_UNDERSCORED%/bootstrap.bat
0 commit comments