@@ -5,7 +5,6 @@ variables:
55 Patch : ' 16'
66 NightlyVersion : $(Major).$(Minor).$(Patch).$(Build.BuildId)-$(Build.DefinitionName)
77 MacFlags : ' CXXFLAGS="-arch x86_64" LINK_EXTRA_FLAGS="-arch x86_64" SLINK_EXTRA_FLAGS="-arch x86_64"'
8- MacArmFlags : ' CXXFLAGS="-arch arm64" LINK_EXTRA_FLAGS="-arch arm64" SLINK_EXTRA_FLAGS="-arch arm64" FPMATH_ENABLED=False'
98
109stages :
1110- stage : Build
@@ -25,20 +24,6 @@ stages:
2524 artifactName : ' Mac'
2625 targetPath : $(Build.ArtifactStagingDirectory)
2726
28- - job : MacArm
29- condition : eq(0,1)
30- displayName : " Mac Build"
31- pool :
32- vmImage : " macOS-latest"
33- steps :
34- - script : $(MacArmFlags) python scripts/mk_unix_dist.py --dotnet-key=$(Build.SourcesDirectory)/resources/z3.snk
35- - script : git clone https://github.com/z3prover/z3test z3test
36- - script : python z3test/scripts/test_benchmarks.py build-dist/z3 z3test/regressions/smt2
37- - script : cp dist/*.zip $(Build.ArtifactStagingDirectory)/.
38- - task : PublishPipelineArtifact@1
39- inputs :
40- artifactName : ' MacArm'
41- targetPath : $(Build.ArtifactStagingDirectory)
4227
4328 - job : Ubuntu
4429 displayName : " Ubuntu build"
@@ -181,11 +166,6 @@ stages:
181166 inputs :
182167 artifact : ' Mac'
183168 path : $(Agent.TempDirectory)\package
184- # - task: DownloadPipelineArtifact@2
185- # displayName: 'Download macOS ARM Build'
186- # inputs:
187- # artifact: 'MacArm'
188- # path: $(Agent.TempDirectory)\package
189169 - task : NuGetToolInstaller@0
190170 inputs :
191171 versionSpec : 5.x
@@ -413,24 +393,6 @@ stages:
413393 artifactName : ' Python packages'
414394 targetPath : src/api/python/dist
415395
416- - job : PythonArm
417- condition : eq(0,1)
418- displayName : " Python Arm packaging"
419- pool :
420- vmImage : " ubuntu-latest"
421- steps :
422- - task : DownloadPipelineArtifact@2
423- inputs :
424- artifactName : ' MacArm'
425- targetPath : $(Agent.TempDirectory)
426- - script : cd $(Agent.TempDirectory); mkdir osx-arm-bin; cd osx-arm-bin; unzip ../*osx*.zip
427- - script : python3 -m pip install --user -U setuptools wheel
428- - script : cd src/api/python; python3 setup.py sdist
429- - script : cd src/api/python; echo $(Agent.TempDirectory)/osx-arm-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
430- - task : PublishPipelineArtifact@0
431- inputs :
432- artifactName : ' Python Arm packages'
433- targetPath : src/api/python/dist
434396
435397- stage : Deployment
436398 jobs :
@@ -470,11 +432,6 @@ stages:
470432 inputs :
471433 artifactName : ' Python packages'
472434 targetPath : tmp
473- - task : DownloadPipelineArtifact@2
474- displayName : " Download Python Arm"
475- inputs :
476- artifactName : ' Python Arm packages'
477- targetPath : tmp
478435 - task : DownloadPipelineArtifact@2
479436 displayName : " Download NuGet"
480437 inputs :
0 commit comments