2018-05-16 23:50:29 +02:00
|
|
|
# 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:
|
2018-09-11 19:47:46 +02:00
|
|
|
name: Hosted macOS
|
2018-05-16 23:50:29 +02:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- 3.7
|
|
|
|
- 3.6
|
|
|
|
paths:
|
|
|
|
exclude:
|
|
|
|
- Doc/*
|
|
|
|
- Tools/*
|
|
|
|
|
|
|
|
#variables:
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
fetchDepth: 5
|
|
|
|
|
2018-07-27 09:52:24 +02:00
|
|
|
- script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-vsts
|
2018-05-16 23:50:29 +02:00
|
|
|
displayName: 'Configure CPython (debug)'
|
|
|
|
|
|
|
|
- script: make -s -j4
|
|
|
|
displayName: 'Build CPython'
|
|
|
|
|
|
|
|
- script: make pythoninfo
|
|
|
|
displayName: 'Display build info'
|
|
|
|
|
2018-09-20 01:25:25 +02:00
|
|
|
- script: make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
|
2018-05-16 23:50:29 +02:00
|
|
|
displayName: 'Tests'
|
2018-09-20 01:25:25 +02:00
|
|
|
|
|
|
|
- task: PublishTestResults@2
|
|
|
|
displayName: 'Publish Test Results'
|
|
|
|
inputs:
|
|
|
|
testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
|
|
|
|
mergeTestResults: true
|
|
|
|
testRunTitle: '$(build.sourceBranchName)-macOS'
|
|
|
|
platform: macOS
|
|
|
|
condition: succeededOrFailed()
|