mirror of
https://github.com/Z3Prover/z3
synced 2025-09-07 10:11:25 +00:00
Add Windows ARM64 builds to NuGet packages for nightly and release pipelines
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
3224b75767
commit
626c6e74dc
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-glibc-2.35' : ('so', 'linux-x64'),
|
||||||
'x64-win' : ('dll', 'win-x64'),
|
'x64-win' : ('dll', 'win-x64'),
|
||||||
'x86-win' : ('dll', 'win-x86'),
|
'x86-win' : ('dll', 'win-x86'),
|
||||||
|
'arm64-win' : ('dll', 'win-arm64'),
|
||||||
'x64-osx' : ('dylib', 'osx-x64'),
|
'x64-osx' : ('dylib', 'osx-x64'),
|
||||||
'arm64-glibc' : ('so', 'linux-arm64'),
|
'arm64-glibc' : ('so', 'linux-arm64'),
|
||||||
'arm64-osx' : ('dylib', 'osx-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}")
|
zip_ref.extract(f"{package_dir}/bin/libz3.{ext}", f"{tmp}")
|
||||||
mk_dir(f"out/runtimes/{dst}/native")
|
mk_dir(f"out/runtimes/{dst}/native")
|
||||||
replace(f"{tmp}/{package_dir}/bin/libz3.{ext}", f"out/runtimes/{dst}/native/libz3.{ext}")
|
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/")
|
mk_dir("out/lib/netstandard2.0/")
|
||||||
if symbols:
|
if symbols:
|
||||||
zip_ref.extract(f"{package_dir}/bin/libz3.pdb", f"{tmp}")
|
zip_ref.extract(f"{package_dir}/bin/libz3.pdb", f"{tmp}")
|
||||||
|
|
|
@ -233,6 +233,11 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
artifact: 'WindowsBuild-x64'
|
artifact: 'WindowsBuild-x64'
|
||||||
path: $(Agent.TempDirectory)\package
|
path: $(Agent.TempDirectory)\package
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: 'Download Win ARM64 Build'
|
||||||
|
inputs:
|
||||||
|
artifact: 'WindowsBuild-arm64'
|
||||||
|
path: $(Agent.TempDirectory)\package
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Ubuntu Build'
|
displayName: 'Download Ubuntu Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -240,6 +240,11 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
artifact: 'WindowsBuild-x64'
|
artifact: 'WindowsBuild-x64'
|
||||||
path: $(Agent.TempDirectory)\package
|
path: $(Agent.TempDirectory)\package
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: 'Download Win ARM64 Build'
|
||||||
|
inputs:
|
||||||
|
artifact: 'WindowsBuild-arm64'
|
||||||
|
path: $(Agent.TempDirectory)\package
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Ubuntu Build'
|
displayName: 'Download Ubuntu Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue