From 793400447d1a2f339fd9dc57ea05eab2166ed5d4 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Mon, 22 Jul 2024 23:13:19 -0700 Subject: [PATCH] Modify azure CI to utilize new python packaging --- azure-pipelines.yml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 48dcf094a..ac3b9105c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,8 +43,20 @@ jobs: - ${{if eq(variables['runRegressions'], 'True')}}: - template: scripts/test-regressions.yml -- job: LinuxBuildsArm64 - displayName: "ManyLinux ARM64 build" +- job: "ManylinuxPythonBuildAmd64" + displayName: "Python bindings (manylinux Centos AMD64) build" + pool: + vmImage: "ubuntu-latest" + container: "quay.io/pypa/manylinux2014_x86_64:latest" + steps: + - script: "/opt/python/cp38-cp38/bin/python -m venv $PWD/env" + - script: 'echo "##vso[task.prependpath]$PWD/env/bin"' + - script: "pip install build git+https://github.com/rhelmot/auditwheel" # @TODO remove when patches make it upstream + - script: "cd src/api/python && python -m build && AUDITWHEEL_PLAT= auditwheel repair --best-plat dist/*.whl && cd ../../.." + - script: "pip install ./src/api/python/wheelhouse/*.whl && python -