From 5acc3777274a15c885d5b54f02ecce5bb9b36c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20Brand=C3=A3o?= Date: Mon, 26 Feb 2024 20:39:07 +0000 Subject: [PATCH] nlwpy: Generate sdist on Azure --- azure-pipelines.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e9d2e47f..80260c97e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,13 +1,20 @@ -# variables: -# CIBW_SKIP: pp* cp27-* *_i686 *-win32 *musllinux* -# CIBW_ARCHS_MACOS: x86_64 universal2 -# CIBW_TEST_COMMAND: pytest --pyargs nlwpy.test -# CIBW_TEST_REQUIRES: --index-url https://pypi.ampl.com --extra-index-url https://pypi.org/simple ampl_module_base ampl_module_gurobi ampl_module_highs ampl_module_minos amplpy pytest pandas numpy scipy - stages: - stage: native displayName: 'Build native' jobs: + - job: sdist + pool: {vmImage: 'Ubuntu-20.04'} + steps: + - task: UsePythonVersion@0 + - bash: | + set -ex + cd nl-writer2/ + pip install pybind11 stuptools + python setup.py sdist -d upload + displayName: Build documentation + - task: PublishBuildArtifacts@1 + inputs: {pathtoPublish: 'nl-writer2/nlwpy/upload'} + - job: manylinux - job: manylinux pool: {vmImage: 'Ubuntu-20.04'} steps: