@@ -9,11 +9,12 @@ environment:
99platform :
1010 - x64
1111 - Win32
12+ - ARM64
1213
1314configuration :
1415 - Release
1516 - Debug
16- # see https://www.boost.org/doc/libs/1_87_0 /libs/python/doc/html/building/python_debugging_builds.html
17+ # see https://www.boost.org/doc/libs/1_90_0 /libs/python/doc/html/building/python_debugging_builds.html
1718 # not available by boost nuget package
1819 # - PythonDebug
1920
@@ -25,6 +26,9 @@ install:
2526 - if "%platform%"=="Win32" set archi=x86
2627 - if "%platform%"=="Win32" set platform_input=Win32
2728
29+ - if "%platform%"=="ARM64" set archi=arm64
30+ - if "%platform%"=="ARM64" set platform_input=ARM64
31+
2832 - if "%PlatformToolset%"=="v143" call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
2933
3034 - nuget restore "%APPVEYOR_BUILD_FOLDER%"\PythonScript\project\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\packages
@@ -36,15 +40,16 @@ build_script:
3640
3741after_build :
3842 - if "%configuration%"=="Release" cd "%APPVEYOR_BUILD_FOLDER%"\docs
39- - if "%configuration%"=="Release" set PATH=C:\Python312 -x64;C:\Python312 -x64\Scripts;%PATH%
43+ - if "%configuration%"=="Release" set PATH=C:\Python314 -x64;C:\Python314 -x64\Scripts;%PATH%
4044 - if "%configuration%"=="Release" python -m pip install --upgrade pip
4145 - if "%configuration%"=="Release" pip install -U sphinx
4246 - if "%configuration%"=="Release" make.bat html
4347
4448 - cd "%APPVEYOR_BUILD_FOLDER%"\installer
4549 - dotnet tool install --global wix
46- - if "%platform_input%"=="x64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.12.10\tools
47- - if "%platform_input%"=="Win32" SET PYTHONBUILDDIR="%APPVEYOR_BUILD_FOLDER%"\packages\pythonx86.3.12.10\tools
50+ - if "%platform_input%"=="ARM64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
51+ - if "%platform_input%"=="x64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
52+ - if "%platform_input%"=="Win32" SET PYTHONBUILDDIR="%APPVEYOR_BUILD_FOLDER%"\packages\pythonx86.3.14.3\tools
4853 - copy "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat.orig "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat
4954 - if "%configuration%"=="Release" buildAll.bat %platform_input%
5055 - cd "%APPVEYOR_BUILD_FOLDER%"
@@ -59,6 +64,13 @@ after_build:
5964 }
6065
6166 if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v143") {
67+ if($env:PLATFORM_INPUT -eq "ARM64"){
68+ $ZipFileName = "PythonScript_$($env:APPVEYOR_REPO_TAG_NAME)_arm64.zip"
69+ 7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\*.dll
70+ Push-AppveyorArtifact $ZipFileName -FileName $ZipFileName
71+ Get-ChildItem .\installer\build\**\*.msi | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName releases}
72+ Get-ChildItem .\installer\build\**\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName releases}
73+ }
6274 if($env:PLATFORM_INPUT -eq "x64"){
6375 $ZipFileName = "PythonScript_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
6476 7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\*.dll
0 commit comments