Named steps and set -o errexit

This commit is contained in:
Joe Rickerby
2020-11-13 19:20:16 +00:00
parent df04fa5ac3
commit c56448eba7
+10 -6
View File
@@ -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'}