mirror of https://github.com/python/cpython
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
# Current docs for the syntax of this file are at:
|
|
# https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted.md
|
|
|
|
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
|
|
|
queue:
|
|
name: Hosted macOS
|
|
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- master
|
|
- 3.7
|
|
- 3.6
|
|
paths:
|
|
exclude:
|
|
- Doc/*
|
|
- Tools/*
|
|
|
|
#variables:
|
|
|
|
steps:
|
|
- checkout: self
|
|
clean: true
|
|
fetchDepth: 5
|
|
|
|
- script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-vsts
|
|
displayName: 'Configure CPython (debug)'
|
|
|
|
- script: make -s -j4
|
|
displayName: 'Build CPython'
|
|
|
|
- script: make pythoninfo
|
|
displayName: 'Display build info'
|
|
|
|
- script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
|
|
displayName: 'Tests'
|
|
|
|
- task: PublishTestResults@2
|
|
displayName: 'Publish Test Results'
|
|
inputs:
|
|
testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
|
|
mergeTestResults: true
|
|
testRunTitle: '$(build.sourceBranchName)-macOS'
|
|
platform: macOS
|
|
condition: succeededOrFailed()
|