mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-28 10:19:23 +00:00 
			
		
		
		
	Add Windows ARM64 builds to NuGet packages for nightly and release pipelines (#7847)
* Initial plan * Add Windows ARM64 builds to NuGet packages for nightly and release pipelines Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e0c315bc3e
								
							
						
					
					
						commit
						6eee8688c2
					
				
					 3 changed files with 12 additions and 1 deletions
				
			
		|  | @ -27,6 +27,7 @@ os_info = {  'x64-ubuntu-latest' : ('so', 'linux-x64'), | |||
|              'x64-glibc-2.35' : ('so', 'linux-x64'), | ||||
|              'x64-win' : ('dll', 'win-x64'), | ||||
|              'x86-win' : ('dll', 'win-x86'), | ||||
|              'arm64-win' : ('dll', 'win-arm64'), | ||||
|              'x64-osx' : ('dylib', 'osx-x64'), | ||||
|              'arm64-glibc' : ('so', 'linux-arm64'), | ||||
|              'arm64-osx' : ('dylib', 'osx-arm64'), | ||||
|  | @ -67,7 +68,7 @@ def unpack(packages, symbols, arch): | |||
|             zip_ref.extract(f"{package_dir}/bin/libz3.{ext}", f"{tmp}") | ||||
|             mk_dir(f"out/runtimes/{dst}/native") | ||||
|             replace(f"{tmp}/{package_dir}/bin/libz3.{ext}", f"out/runtimes/{dst}/native/libz3.{ext}")             | ||||
|             if "x64-win" in f or "x86-win" in f: | ||||
|             if "x64-win" in f or "x86-win" in f or "arm64-win" in f: | ||||
|                 mk_dir("out/lib/netstandard2.0/") | ||||
|                 if symbols: | ||||
|                     zip_ref.extract(f"{package_dir}/bin/libz3.pdb", f"{tmp}") | ||||
|  |  | |||
|  | @ -233,6 +233,11 @@ stages: | |||
|       inputs: | ||||
|         artifact: 'WindowsBuild-x64' | ||||
|         path: $(Agent.TempDirectory)\package | ||||
|     - task: DownloadPipelineArtifact@2 | ||||
|       displayName: 'Download Win ARM64 Build' | ||||
|       inputs: | ||||
|         artifact: 'WindowsBuild-arm64' | ||||
|         path: $(Agent.TempDirectory)\package | ||||
|     - task: DownloadPipelineArtifact@2 | ||||
|       displayName: 'Download Ubuntu Build' | ||||
|       inputs: | ||||
|  |  | |||
|  | @ -240,6 +240,11 @@ stages: | |||
|       inputs: | ||||
|         artifact: 'WindowsBuild-x64' | ||||
|         path: $(Agent.TempDirectory)\package | ||||
|     - task: DownloadPipelineArtifact@2 | ||||
|       displayName: 'Download Win ARM64 Build' | ||||
|       inputs: | ||||
|         artifact: 'WindowsBuild-arm64' | ||||
|         path: $(Agent.TempDirectory)\package | ||||
|     - task: DownloadPipelineArtifact@2 | ||||
|       displayName: 'Download Ubuntu Build' | ||||
|       inputs: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue