Named steps and set -o errexit
This commit is contained in:
@@ -7,7 +7,8 @@ jobs:
|
|||||||
set -o errexit
|
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: Build wheels
|
||||||
|
bash: cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
|
|
||||||
@@ -15,13 +16,15 @@ jobs:
|
|||||||
pool: {vmImage: 'macOS-10.15'}
|
pool: {vmImage: 'macOS-10.15'}
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
- bash: |
|
- displayName: Install dependencies
|
||||||
|
bash: |
|
||||||
set -o errexit
|
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: Build wheels
|
||||||
|
bash: cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: wheelhouse}
|
||||||
|
|
||||||
- job: windows
|
- job: windows
|
||||||
pool: {vmImage: 'vs2017-win2016'}
|
pool: {vmImage: 'vs2017-win2016'}
|
||||||
@@ -33,6 +36,7 @@ jobs:
|
|||||||
set -o errexit
|
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: Build wheels
|
||||||
|
bash: cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
|
|||||||
Reference in New Issue
Block a user