From c56448eba71c47fe04aa2bd2bf8144df06ffc224 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 13 Nov 2020 19:20:16 +0000 Subject: [PATCH] Named steps and set -o errexit --- examples/azure-pipelines-minimal.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 34043b05..a178ac9c 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -7,7 +7,8 @@ jobs: set -o errexit python3 -m pip install --upgrade pip pip3 install cibuildwheel==1.6.4 - cibuildwheel --output-dir wheelhouse . + - displayName: Build wheels + bash: cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -15,13 +16,15 @@ jobs: pool: {vmImage: 'macOS-10.15'} steps: - task: UsePythonVersion@0 - - bash: | + - displayName: Install dependencies + 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: Build wheels + bash: cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 - inputs: {pathtoPublish: 'wheelhouse'} + inputs: {pathtoPublish: wheelhouse} - job: windows pool: {vmImage: 'vs2017-win2016'} @@ -33,6 +36,7 @@ jobs: set -o errexit python -m pip install --upgrade pip pip install cibuildwheel==1.6.4 - cibuildwheel --output-dir wheelhouse . + - displayName: Build wheels + bash: cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'}