@@ -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,26 +26,29 @@ 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
31- - nuget restore "%APPVEYOR_BUILD_FOLDER%"\PythonScript.Tests\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\packages
3235
3336build_script :
3437 - cd "%APPVEYOR_BUILD_FOLDER%"
3538 - msbuild PythonScript.sln /m /p:configuration="%configuration%" /p:platform="%platform_input%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
3639
3740after_build :
3841 - if "%configuration%"=="Release" cd "%APPVEYOR_BUILD_FOLDER%"\docs
39- - if "%configuration%"=="Release" set PATH=C:\Python312 -x64;C:\Python312 -x64\Scripts;%PATH%
42+ - if "%configuration%"=="Release" set PATH=C:\Python314 -x64;C:\Python314 -x64\Scripts;%PATH%
4043 - if "%configuration%"=="Release" python -m pip install --upgrade pip
4144 - if "%configuration%"=="Release" pip install -U sphinx
4245 - if "%configuration%"=="Release" make.bat html
4346
4447 - cd "%APPVEYOR_BUILD_FOLDER%"\installer
4548 - 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
49+ - if "%platform_input%"=="ARM64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
50+ - if "%platform_input%"=="x64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
51+ - if "%platform_input%"=="Win32" SET PYTHONBUILDDIR="%APPVEYOR_BUILD_FOLDER%"\packages\pythonx86.3.14.3\tools
4852 - copy "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat.orig "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat
4953 - if "%configuration%"=="Release" buildAll.bat %platform_input%
5054 - cd "%APPVEYOR_BUILD_FOLDER%"
@@ -59,6 +63,13 @@ after_build:
5963 }
6064
6165 if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v143") {
66+ if($env:PLATFORM_INPUT -eq "ARM64"){
67+ $ZipFileName = "PythonScript_$($env:APPVEYOR_REPO_TAG_NAME)_arm64.zip"
68+ 7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\*.dll
69+ Push-AppveyorArtifact $ZipFileName -FileName $ZipFileName
70+ Get-ChildItem .\installer\build\**\*.msi | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName releases}
71+ Get-ChildItem .\installer\build\**\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName releases}
72+ }
6273 if($env:PLATFORM_INPUT -eq "x64"){
6374 $ZipFileName = "PythonScript_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
6475 7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\*.dll
0 commit comments