mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0c94d6dab6
commit
3576b66e32
|
@ -81,8 +81,7 @@ def mk_targets(source_root):
|
||||||
|
|
||||||
def mk_icon(source_root):
|
def mk_icon(source_root):
|
||||||
mk_dir("out/content")
|
mk_dir("out/content")
|
||||||
print(f"{source_root}/resources/icon.jpg")
|
shutil.copy(f"{source_root}/resources/icon.jpg", "out/content/icon.jpg")
|
||||||
print(shutil.copy(f"{source_root}/resources/icon.jpg", "out/content/icon.jpg"))
|
|
||||||
|
|
||||||
|
|
||||||
def create_nuget_spec(version, repo, branch, commit, symbols):
|
def create_nuget_spec(version, repo, branch, commit, symbols):
|
||||||
|
@ -112,10 +111,10 @@ Linux Dependencies:
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>""".format(version, repo, branch, commit)
|
</package>""".format(version, repo, branch, commit)
|
||||||
print(contents)
|
print(contents)
|
||||||
prefix = ""
|
sym = ""
|
||||||
if symbols:
|
if symbols:
|
||||||
prefix = "s"
|
sym = "s"
|
||||||
with open("out/Microsoft.Z3.x64.{prefix}nuspec", 'w') as f:
|
with open("out/Microsoft.Z3.x64.{sym}.nuspec", 'w') as f:
|
||||||
f.write(contents)
|
f.write(contents)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
@ -172,7 +172,7 @@ stages:
|
||||||
displayName: 'NuGet Pack Symbols'
|
displayName: 'NuGet Pack Symbols'
|
||||||
inputs:
|
inputs:
|
||||||
command: custom
|
command: custom
|
||||||
arguments: 'pack $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.snuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -Verbosity detailed -Symbols -SymbolPackageFormat snupkg -BasePath $(Agent.TempDirectory)\package\out'
|
arguments: 'pack $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.sym.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -Verbosity detailed -Symbols -SymbolPackageFormat snupkg -BasePath $(Agent.TempDirectory)\package\out'
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
inputs:
|
inputs:
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
Loading…
Reference in a new issue