2018-09-24 08:44:50 -03:00
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
fetchDepth: 5
|
|
|
|
|
2019-04-01 13:10:20 -03:00
|
|
|
# Work around a known issue affecting Ubuntu VMs on Pipelines
|
|
|
|
- script: sudo setfacl -Rb /home/vsts
|
|
|
|
displayName: 'Workaround ACL issue'
|
|
|
|
|
2023-09-17 14:46:15 -03:00
|
|
|
- script: sudo ./.azure-pipelines/posix-deps-apt.sh $(openssl_version)
|
2018-09-24 08:44:50 -03:00
|
|
|
displayName: 'Install dependencies'
|
|
|
|
|
|
|
|
- script: ./configure --with-pydebug
|
|
|
|
displayName: 'Configure CPython (debug)'
|
|
|
|
|
2020-02-26 15:21:41 -04:00
|
|
|
- script: make -j4
|
2018-09-24 08:44:50 -03:00
|
|
|
displayName: 'Build CPython'
|
|
|
|
|
2023-09-15 02:27:47 -03:00
|
|
|
- script: make pythoninfo
|
|
|
|
displayName: 'Display build info'
|
2018-09-24 08:44:50 -03:00
|
|
|
|
2023-09-17 14:46:15 -03:00
|
|
|
- script: |
|
|
|
|
git fetch origin
|
|
|
|
./python Tools/patchcheck/patchcheck.py --ci true
|
|
|
|
displayName: 'Run patchcheck.py'
|
|
|
|
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
|