Skip to content

Commit

Permalink
Azure Pipelines: Publish wheel for OSX (#235)
Browse files Browse the repository at this point in the history
A wheel built on OSX with clang is published in Azure along with a wheel built on ubuntu linux.
  • Loading branch information
hardbyte committed Sep 6, 2019
1 parent 542735e commit da1de0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .azurePipeline/python_init_package_install_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@ steps:
python -m codecov --token $(CODECOV_TOKEN) --file coverage.xml -F $opSysFlag,$pyVFlag,$compFlag
displayName: 'Send coverage to codecov'
condition: succeededOrFailed()

# Note PipelineArtifacts replace BuildArtifacts
- task: PublishPipelineArtifact@1
condition: and(eq(variables['compiler'], 'clang'), eq(variables['pythonVersion'], '3.7'))
displayName: 'Publish pipeline artifacts in Azure'
inputs:
targetPath: 'dist'
artifact: 'Build Artifacts ${{ parameters.operatingSystem }} for Python ${{ parameters.pythonVersion }}'
7 changes: 1 addition & 6 deletions azurePipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ stages:
compiler: $(compiler)
pythonVersion: $(pythonVersion)
operatingSystem: 'ubuntu-16.04'
- task: PublishPipelineArtifact@0
condition: and(eq(variables['compiler'], 'gcc'), eq(variables['pythonVersion'], '3.7'))
displayName: 'Publish artifacts in Azure'
inputs:
artifactName: Artifacts
targetPath: 'dist/'


- job:
displayName: OSX
Expand Down

0 comments on commit da1de0f

Please sign in to comment.