mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
try to add back musllinux
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
35db0ae58b
commit
ddc3445707
|
@ -89,7 +89,6 @@ stages:
|
||||||
- job: LinuxBuild
|
- job: LinuxBuild
|
||||||
variables:
|
variables:
|
||||||
python: "/opt/python/cp37-cp37m/bin/python"
|
python: "/opt/python/cp37-cp37m/bin/python"
|
||||||
image: "quay.io/pypa/manylinux2010_x86_64:latest"
|
|
||||||
name: Linux
|
name: Linux
|
||||||
displayName: "ManyLinux build"
|
displayName: "ManyLinux build"
|
||||||
pool:
|
pool:
|
||||||
|
@ -105,6 +104,24 @@ stages:
|
||||||
artifactName: '$(name)Build'
|
artifactName: '$(name)Build'
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
|
- job: MuslLinuxBuild
|
||||||
|
variables:
|
||||||
|
python: "/opt/python/cp310-cp310/bin/python"
|
||||||
|
name: MuslLinux
|
||||||
|
displayName: "MuslLinux build"
|
||||||
|
pool:
|
||||||
|
vmImage: "Ubuntu-18.04"
|
||||||
|
container: "quay.io/pypa/musllinux_1_1_x86_64:latest"
|
||||||
|
steps:
|
||||||
|
- script: $(python) scripts/mk_unix_dist.py --nodotnet --nojava
|
||||||
|
- script: git clone https://github.com/z3prover/z3test z3test
|
||||||
|
- script: $(python) z3test/scripts/test_benchmarks.py build-dist/z3 z3test/regressions/smt2
|
||||||
|
- script: cp dist/*.zip $(Build.ArtifactStagingDirectory)/
|
||||||
|
- task: PublishPipelineArtifact@0
|
||||||
|
inputs:
|
||||||
|
artifactName: '$(name)Build'
|
||||||
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
- job: Windows32
|
- job: Windows32
|
||||||
displayName: "Windows 32-bit build"
|
displayName: "Windows 32-bit build"
|
||||||
pool:
|
pool:
|
||||||
|
@ -397,11 +414,11 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: 'Manylinux'
|
artifactName: 'Manylinux'
|
||||||
targetPath: $(Agent.TempDirectory)
|
targetPath: $(Agent.TempDirectory)
|
||||||
# - task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
# displayName: 'Download MuslLinux Build'
|
displayName: 'Download MuslLinux Build'
|
||||||
# inputs:
|
inputs:
|
||||||
# artifact: 'MuslLinuxBuild'
|
artifact: 'MuslLinuxBuild'
|
||||||
# path: $(Agent.TempDirectory)
|
path: $(Agent.TempDirectory)
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: 'Mac'
|
artifactName: 'Mac'
|
||||||
|
@ -413,14 +430,14 @@ stages:
|
||||||
- script: cd $(Agent.TempDirectory); mkdir osx-x64-bin; cd osx-x64-bin; unzip ../*x64-osx*.zip
|
- script: cd $(Agent.TempDirectory); mkdir osx-x64-bin; cd osx-x64-bin; unzip ../*x64-osx*.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir osx-arm64-bin; cd osx-arm64-bin; unzip ../*arm64-osx*.zip
|
- script: cd $(Agent.TempDirectory); mkdir osx-arm64-bin; cd osx-arm64-bin; unzip ../*arm64-osx*.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir libc-bin; cd libc-bin; unzip ../*glibc*.zip
|
- script: cd $(Agent.TempDirectory); mkdir libc-bin; cd libc-bin; unzip ../*glibc*.zip
|
||||||
# - script: cd $(Agent.TempDirectory); mkdir musl-bin; cd musl-bin; unzip ../*-linux.zip
|
- script: cd $(Agent.TempDirectory); mkdir musl-bin; cd musl-bin; unzip ../*-linux.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir win32-bin; cd win32-bin; unzip ../*x86-win*.zip
|
- script: cd $(Agent.TempDirectory); mkdir win32-bin; cd win32-bin; unzip ../*x86-win*.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir win64-bin; cd win64-bin; unzip ../*x64-win*.zip
|
- script: cd $(Agent.TempDirectory); mkdir win64-bin; cd win64-bin; unzip ../*x64-win*.zip
|
||||||
- script: python3 -m pip install --user -U setuptools wheel
|
- script: python3 -m pip install --user -U setuptools wheel
|
||||||
- script: cd src/api/python; python3 setup.py sdist
|
- script: cd src/api/python; python3 setup.py sdist
|
||||||
# take a look at this PREMIUM HACK I came up with to get around the fact that the azure variable syntax overloads the bash syntax for subshells
|
# take a look at this PREMIUM HACK I came up with to get around the fact that the azure variable syntax overloads the bash syntax for subshells
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/libc-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/libc-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
# - script: cd src/api/python; echo $(Agent.TempDirectory)/musl-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/musl-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/win32-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/win32-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/win64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/win64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/osx-x64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/osx-x64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
|
|
Loading…
Reference in a new issue