mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
update release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
90a75866fb
commit
a150e58893
|
@ -24,8 +24,8 @@ def mk_dir(d):
|
||||||
os_info = { 'ubuntu-latest' : ('so', 'linux-x64'),
|
os_info = { 'ubuntu-latest' : ('so', 'linux-x64'),
|
||||||
'ubuntu-18' : ('so', 'linux-x64'),
|
'ubuntu-18' : ('so', 'linux-x64'),
|
||||||
'ubuntu-20' : ('so', 'linux-x64'),
|
'ubuntu-20' : ('so', 'linux-x64'),
|
||||||
'glibc-2.31' : ('so', 'linux-x64'),
|
'glibc' : ('so', 'linux-x64'),
|
||||||
'glibc-2.35' : ('so', 'linux-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'),
|
||||||
'x64-osx' : ('dylib', 'osx-x64'),
|
'x64-osx' : ('dylib', 'osx-x64'),
|
||||||
|
|
|
@ -85,6 +85,35 @@ stages:
|
||||||
artifactName: 'UbuntuBuild'
|
artifactName: 'UbuntuBuild'
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
|
- job: UbuntuBuild20
|
||||||
|
displayName: "Ubuntu build 20"
|
||||||
|
pool:
|
||||||
|
vmImage: "ubuntu-20.04"
|
||||||
|
steps:
|
||||||
|
- task: PythonScript@0
|
||||||
|
displayName: Build
|
||||||
|
inputs:
|
||||||
|
scriptSource: 'filepath'
|
||||||
|
scriptPath: scripts/mk_unix_dist.py
|
||||||
|
arguments: --dotnet-key=$(Build.SourcesDirectory)/resources/z3.snk
|
||||||
|
- script: git clone https://github.com/z3prover/z3test z3test
|
||||||
|
displayName: 'Clone z3test'
|
||||||
|
- task: PythonScript@0
|
||||||
|
displayName: Test
|
||||||
|
inputs:
|
||||||
|
scriptSource: 'filepath'
|
||||||
|
scriptPath: z3test/scripts/test_benchmarks.py
|
||||||
|
arguments: build-dist/z3 z3test/regressions/smt2
|
||||||
|
- task: CopyFiles@2
|
||||||
|
inputs:
|
||||||
|
sourceFolder: dist
|
||||||
|
contents: '*.zip'
|
||||||
|
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||||
|
- task: PublishPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: 'UbuntuBuild20'
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
- job: UbuntuDoc
|
- job: UbuntuDoc
|
||||||
displayName: "Ubuntu Doc build"
|
displayName: "Ubuntu Doc build"
|
||||||
pool:
|
pool:
|
||||||
|
@ -191,6 +220,11 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
artifact: 'UbuntuBuild'
|
artifact: 'UbuntuBuild'
|
||||||
path: $(Agent.TempDirectory)\package
|
path: $(Agent.TempDirectory)\package
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: 'Download Ubuntu20 Build'
|
||||||
|
inputs:
|
||||||
|
artifact: 'UbuntuBuild20'
|
||||||
|
path: $(Agent.TempDirectory)\package
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download macOS Build'
|
displayName: 'Download macOS Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -436,6 +470,11 @@ stages:
|
||||||
pool:
|
pool:
|
||||||
vmImage: "windows-latest"
|
vmImage: "windows-latest"
|
||||||
steps:
|
steps:
|
||||||
|
- task: DownloadPipelineArtifact@2
|
||||||
|
displayName: 'Download Ubuntu Build'
|
||||||
|
inputs:
|
||||||
|
artifact: 'UbuntuBuild20'
|
||||||
|
path: $(Agent.TempDirectory)
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Ubuntu Build'
|
displayName: 'Download Ubuntu Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Loading…
Reference in a new issue