diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 498af96d..bda80c68 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -4,9 +4,12 @@ jobs: steps: - task: UsePythonVersion@0 - bash: | + set -o errexit python3 -m pip install --upgrade pip pip3 install cibuildwheel==1.6.4 - cibuildwheel --output-dir wheelhouse . + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -15,11 +18,14 @@ jobs: steps: - task: UsePythonVersion@0 - bash: | + set -o errexit python3 -m pip install --upgrade pip - pip3 install cibuildwheel==1.6.4 - cibuildwheel --output-dir wheelhouse . + python3 -m pip install cibuildwheel==1.6.4 + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 - inputs: {pathtoPublish: 'wheelhouse'} + inputs: {pathtoPublish: wheelhouse} - job: windows pool: {vmImage: 'vs2017-win2016'} @@ -28,8 +34,11 @@ jobs: - script: choco install vcpython27 -f -y displayName: Install Visual C++ for Python 2.7 - bash: | + set -o errexit python -m pip install --upgrade pip pip install cibuildwheel==1.6.4 - cibuildwheel --output-dir wheelhouse . + displayName: Install dependencies + - bash: cibuildwheel --output-dir wheelhouse . + displayName: Build wheels - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'}