Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

Commit

Permalink
Set up CI with Azure Pipelines (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
anpaz authored Jun 1, 2022
1 parent 68a77cb commit f75d7da
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .ado/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Builds the Python package in ADO.
# Required for internal validations, like component governance.

trigger:
- main

pool:
vmImage: ubuntu-latest
strategy:
matrix:
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'

- script: |
python -m pip install wheel --upgrade pip
make dist
python -m pip install dist/*.whl
displayName: 'Build package'

- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'

0 comments on commit f75d7da

Please sign in to comment.