Add wheels job for building core wheels (#38359)

This commit is contained in:
Franck Nijhof 2020-07-29 16:11:06 +02:00 committed by GitHub
parent 417e00ee9c
commit 167b10ccc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,23 @@ resources:
endpoint: 'home-assistant' endpoint: 'home-assistant'
jobs: jobs:
- template: templates/azp-job-wheels.yaml@azure
parameters:
builderVersion: '$(versionWheels)'
builderApk: 'build-base;cmake;git;linux-headers;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev'
builderPip: 'Cython;numpy'
skipBinary: 'aiohttp'
wheelsRequirement: 'requirements.txt'
wheelsRequirementDiff: 'requirements_diff.txt'
wheelsConstraint: 'homeassistant/package_constraints.txt'
preBuild:
- script: |
if [[ "$(Build.Reason)" =~ (Schedule|Manual) ]]; then
exit 0
else
curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/master/requirements.txt
fi
displayName: 'Prepare requirements files for Home Assistant Core wheels'
- template: templates/azp-job-wheels.yaml@azure - template: templates/azp-job-wheels.yaml@azure
parameters: parameters:
builderVersion: '$(versionWheels)' builderVersion: '$(versionWheels)'