mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
try consolidation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
37ae0fe7d4
commit
af8f0a7312
|
@ -1,6 +1,6 @@
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
- job: "Mac"
|
- job: Mac
|
||||||
displayName: "Mac Build"
|
displayName: "Mac Build"
|
||||||
pool:
|
pool:
|
||||||
vmImage: "macOS-10.14"
|
vmImage: "macOS-10.14"
|
||||||
|
@ -10,22 +10,13 @@ jobs:
|
||||||
secureFile: 'z3.snk'
|
secureFile: 'z3.snk'
|
||||||
- script: python scripts/mk_unix_dist.py --dotnet-key=$(Agent.TempDirectory)/z3.snk
|
- script: python scripts/mk_unix_dist.py --dotnet-key=$(Agent.TempDirectory)/z3.snk
|
||||||
- script: cp dist/*.zip $(Build.ArtifactStagingDirectory)/.
|
- script: cp dist/*.zip $(Build.ArtifactStagingDirectory)/.
|
||||||
- task: GitHubRelease@0
|
- task: PublishPipelineArtifact@0
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: Z3GitHub
|
artifactName: 'Mac'
|
||||||
repositoryName: 'Z3Prover/z3'
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
action: 'edit'
|
|
||||||
target: '$(Build.SourceVersion)'
|
|
||||||
tagSource: 'manual'
|
|
||||||
tag: 'Nightly'
|
|
||||||
title: 'Nightly'
|
|
||||||
releaseNotesSource: 'input'
|
|
||||||
releaseNotes: 'nightly build'
|
|
||||||
assetUploadMode: 'replace'
|
|
||||||
isDraft: false
|
|
||||||
isPreRelease: true
|
|
||||||
|
|
||||||
- job: "Ubuntu"
|
|
||||||
|
- job: Ubuntu
|
||||||
displayName: "Ubuntu build"
|
displayName: "Ubuntu build"
|
||||||
pool:
|
pool:
|
||||||
vmImage: "ubuntu-16.04"
|
vmImage: "ubuntu-16.04"
|
||||||
|
@ -35,22 +26,12 @@ jobs:
|
||||||
secureFile: 'z3.snk'
|
secureFile: 'z3.snk'
|
||||||
- script: python scripts/mk_unix_dist.py --dotnet-key=$(Agent.TempDirectory)/z3.snk
|
- script: python scripts/mk_unix_dist.py --dotnet-key=$(Agent.TempDirectory)/z3.snk
|
||||||
- script: cp dist/*.zip $(Build.ArtifactStagingDirectory)/.
|
- script: cp dist/*.zip $(Build.ArtifactStagingDirectory)/.
|
||||||
- task: GitHubRelease@0
|
- task: PublishPipelineArtifact@0
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: Z3GitHub
|
artifactName: 'Ubuntu'
|
||||||
repositoryName: 'Z3Prover/z3'
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
action: 'edit'
|
|
||||||
target: '$(Build.SourceVersion)'
|
|
||||||
tagSource: 'manual'
|
|
||||||
tag: 'Nightly'
|
|
||||||
title: 'Nightly'
|
|
||||||
releaseNotesSource: 'input'
|
|
||||||
releaseNotes: 'nightly build'
|
|
||||||
assetUploadMode: 'replace'
|
|
||||||
isDraft: false
|
|
||||||
isPreRelease: true
|
|
||||||
|
|
||||||
- job: "Windows"
|
- job: Windows
|
||||||
displayName: "Windows build"
|
displayName: "Windows build"
|
||||||
pool:
|
pool:
|
||||||
vmImage: "vs2017-win2016"
|
vmImage: "vs2017-win2016"
|
||||||
|
@ -60,6 +41,30 @@ jobs:
|
||||||
secureFile: 'z3.snk'
|
secureFile: 'z3.snk'
|
||||||
- script: scripts\mk_win_dist.cmd
|
- script: scripts\mk_win_dist.cmd
|
||||||
- script: xcopy dist\*.zip $(Build.ArtifactStagingDirectory)\* /y
|
- script: xcopy dist\*.zip $(Build.ArtifactStagingDirectory)\* /y
|
||||||
|
- task: PublishPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: 'Windows'
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
|
- job: Deploy
|
||||||
|
displayName: "Deploy into GitHub"
|
||||||
|
dependsOn:
|
||||||
|
- Mac
|
||||||
|
- Ubuntu
|
||||||
|
- Windows
|
||||||
|
steps:
|
||||||
|
- task: DownloadPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: 'Windows'
|
||||||
|
targetPath: $(Build.ArtifactStaginDirectory)
|
||||||
|
- task: DownloadPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: 'Mac'
|
||||||
|
targetPath: $(Build.ArtifactStaginDirectory)
|
||||||
|
- task: DownloadPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: 'Ubuntu'
|
||||||
|
targetPath: $(Build.ArtifactStaginDirectory)
|
||||||
- task: GitHubRelease@0
|
- task: GitHubRelease@0
|
||||||
inputs:
|
inputs:
|
||||||
gitHubConnection: Z3GitHub
|
gitHubConnection: Z3GitHub
|
||||||
|
@ -71,11 +76,9 @@ jobs:
|
||||||
title: 'Nightly'
|
title: 'Nightly'
|
||||||
releaseNotesSource: 'input'
|
releaseNotesSource: 'input'
|
||||||
releaseNotes: 'nightly build'
|
releaseNotes: 'nightly build'
|
||||||
assetUploadMode: 'replace'
|
# assetUploadMode: 'replace'
|
||||||
isDraft: false
|
isDraft: false
|
||||||
isPreRelease: true
|
isPreRelease: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue