Merge pull request #461 from joerick/azure-errexit
Use set -o errexit in the Azure example
This commit is contained in:
@@ -4,9 +4,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
- bash: |
|
- bash: |
|
||||||
|
set -o errexit
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip3 install cibuildwheel==1.6.4
|
pip3 install cibuildwheel==1.6.4
|
||||||
cibuildwheel --output-dir wheelhouse .
|
displayName: Install dependencies
|
||||||
|
- bash: cibuildwheel --output-dir wheelhouse .
|
||||||
|
displayName: Build wheels
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
|
|
||||||
@@ -15,11 +18,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
- bash: |
|
- bash: |
|
||||||
|
set -o errexit
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip3 install cibuildwheel==1.6.4
|
python3 -m pip install cibuildwheel==1.6.4
|
||||||
cibuildwheel --output-dir wheelhouse .
|
displayName: Install dependencies
|
||||||
|
- bash: cibuildwheel --output-dir wheelhouse .
|
||||||
|
displayName: Build wheels
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: wheelhouse}
|
||||||
|
|
||||||
- job: windows
|
- job: windows
|
||||||
pool: {vmImage: 'vs2017-win2016'}
|
pool: {vmImage: 'vs2017-win2016'}
|
||||||
@@ -28,8 +34,11 @@ jobs:
|
|||||||
- script: choco install vcpython27 -f -y
|
- script: choco install vcpython27 -f -y
|
||||||
displayName: Install Visual C++ for Python 2.7
|
displayName: Install Visual C++ for Python 2.7
|
||||||
- bash: |
|
- bash: |
|
||||||
|
set -o errexit
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install cibuildwheel==1.6.4
|
pip install cibuildwheel==1.6.4
|
||||||
cibuildwheel --output-dir wheelhouse .
|
displayName: Install dependencies
|
||||||
|
- bash: cibuildwheel --output-dir wheelhouse .
|
||||||
|
displayName: Build wheels
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
|
|||||||
Reference in New Issue
Block a user