3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-12 17:06:14 +00:00

update for nuget

This commit is contained in:
Nikolaj Bjorner 2020-12-19 16:56:25 -08:00
parent 4039785bb6
commit e8b506a172

View file

@ -122,17 +122,40 @@ jobs:
cd scripts cd scripts
python mk_nuget_task.py ../tmp $(z3Version) $(Build.SourceVersion) python mk_nuget_task.py ../tmp $(z3Version) $(Build.SourceVersion)
cd .. cd ..
# - task: NuGetCommand@2 - task: PythonScript@0
# inputs: displayName: 'Python: assemble files'
# command: pack inputs:
# packagesToPack: scripts/out/*.nuspec scriptSource: 'filepath'
# packDestination: $(Build.ArtifactStagingDirectory) scriptPath: scripts\mk_nuget_task.py
# - task: NuGetCommand@2 workingDirectory: $(Agent.TempDirectory)\package
# inputs: arguments:
# command: 'pack' $(Agent.TempDirectory)\package
# packagesToPack: scripts/out/*.nuspec $(ReleaseVersion)
# includesymbols: true $(Build.Repository.Uri)
# packDestination: $(Build.ArtifactStagingDirectory) $(Build.SourceBranchName)
$(Build.SourceVersion)
$(Build.SourcesDirectory)
- task: NuGetToolInstaller@0
inputs:
versionSpec: 5.x
checkLatest: false
- task: NugetCommand@2
displayName: 'NuGet Pack'
inputs:
command: pack
packagesToPack: $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.nuspec
basePath: $(Agent.TempDirectory)\package\out
packDestination: $(Build.ArtifactStagingDirectory)
verbosityPack: detailed
- task: NugetCommand@2
displayName: 'NuGet Pack Symbols'
inputs:
command: pack
packagesToPack: $(Agent.TempDirectory)\package\out\Microsoft.Z3.x64.nuspec
basePath: $(Agent.TempDirectory)\package\out
packDestination: $(Build.ArtifactStagingDirectory)
verbosityPack: detailed
includeSymbols: true
# Not available as a task? # Not available as a task?
# - script: | # - script: |
@ -190,6 +213,7 @@ jobs:
- Windows32 - Windows32
- Windows64 - Windows64
- Python - Python
- NuGet
steps: steps:
- task: DownloadPipelineArtifact@0 - task: DownloadPipelineArtifact@0
inputs: inputs:
@ -211,10 +235,10 @@ jobs:
inputs: inputs:
artifactName: 'Python packages' artifactName: 'Python packages'
targetPath: tmp targetPath: tmp
# - task: DownloadPipelineArtifact@0 - task: DownloadPipelineArtifact@0
# inputs: inputs:
# artifactName: 'NuGet' artifactName: 'NuGet'
# targetPath: tmp targetPath: tmp
- task: GitHubRelease@0 - task: GitHubRelease@0
inputs: inputs:
gitHubConnection: Z3GitHub gitHubConnection: Z3GitHub