Skip to content

Commit da1de0f

Browse files
authored
Azure Pipelines: Publish wheel for OSX (#235)
A wheel built on OSX with clang is published in Azure along with a wheel built on ubuntu linux.
1 parent 542735e commit da1de0f

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.azurePipeline/python_init_package_install_steps.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,11 @@ steps:
5656
python -m codecov --token $(CODECOV_TOKEN) --file coverage.xml -F $opSysFlag,$pyVFlag,$compFlag
5757
displayName: 'Send coverage to codecov'
5858
condition: succeededOrFailed()
59+
60+
# Note PipelineArtifacts replace BuildArtifacts
61+
- task: PublishPipelineArtifact@1
62+
condition: and(eq(variables['compiler'], 'clang'), eq(variables['pythonVersion'], '3.7'))
63+
displayName: 'Publish pipeline artifacts in Azure'
64+
inputs:
65+
targetPath: 'dist'
66+
artifact: 'Build Artifacts ${{ parameters.operatingSystem }} for Python ${{ parameters.pythonVersion }}'

azurePipeline.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ stages:
4343
compiler: $(compiler)
4444
pythonVersion: $(pythonVersion)
4545
operatingSystem: 'ubuntu-16.04'
46-
- task: PublishPipelineArtifact@0
47-
condition: and(eq(variables['compiler'], 'gcc'), eq(variables['pythonVersion'], '3.7'))
48-
displayName: 'Publish artifacts in Azure'
49-
inputs:
50-
artifactName: Artifacts
51-
targetPath: 'dist/'
46+
5247

5348
- job:
5449
displayName: OSX

0 commit comments

Comments
 (0)