3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-01 00:39:52 +00:00

flight test copilot generated slop?

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-12-21 11:56:19 -08:00
parent ed5312fbe4
commit db46a1195b

View file

@ -188,6 +188,42 @@ stages:
- script: "stat `which aarch64-none-linux-gnu-gcc`"
- script: "pip install build git+https://github.com/rhelmot/auditwheel"
- script: "cd src/api/python && CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ AR=aarch64-none-linux-gnu-ar LD=aarch64-none-linux-gnu-ld Z3_CROSS_COMPILING=aarch64 python -m build && AUDITWHEEL_PLAT= auditwheel repair --best-plat dist/*.whl && cd ../../.."
- task: CopyFiles@2
inputs:
sourceFolder: src/api/python/wheelhouse
contents: '*.whl'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'ManyLinuxPythonBuildArm64-v1'
targetPath: $(Build.ArtifactStagingDirectory)
- job: ManyLinuxPythonBuildArm64-V2
displayName: "Python bindings (manylinux Centos ARM64) build"
timeoutInMinutes: 90
pool:
vmImage: "ubuntu-latest"
steps:
- script: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
displayName: "Install QEMU for ARM64 emulation"
- script: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
displayName: "Register QEMU"
- script: |
docker run --rm -v $(pwd):/workspace -w /workspace \
quay.io/pypa/manylinux2014_aarch64:latest \
bash -c "/opt/python/cp38-cp38/bin/python -m venv /workspace/env && \
source /workspace/env/bin/activate && \
pip install build git+https://github.com/rhelmot/auditwheel && \
cd src/api/python && \
python -m build && \
AUDITWHEEL_PLAT= auditwheel repair --best-plat dist/*.whl && \
cd ../../.. && \
pip install ./src/api/python/wheelhouse/*.whl && \
python - <src/api/python/z3test.py z3 && \
python - <src/api/python/z3test.py z3num"
displayName: "Build and test ARM64 wheel"
- task: CopyFiles@2
inputs:
sourceFolder: src/api/python/wheelhouse
@ -199,6 +235,7 @@ stages:
targetPath: $(Build.ArtifactStagingDirectory)
- template: build-win-signed.yml
parameters:
ReleaseVersion: $(ReleaseVersion)