Skip to content

Commit

Permalink
nlwpy: Generate sdist on Azure
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed Feb 26, 2024
1 parent fdd2209 commit 5acc377
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 5acc377

Please sign in to comment.