burrow-pi-img/azure-pipelines.yml

27 lines
679 B
YAML
Raw Normal View History

2018-12-25 21:57:40 +00:00
resources:
containers:
- container: pi-gen
image: wpilib/pi-gen:latest
options: --privileged
jobs:
- job: 'Main'
pool:
vmImage: 'Ubuntu 16.04'
container: pi-gen
steps:
- checkout: self
submodules: true
- script: |
cd deps && ./01-download.sh && ./02-extract.sh && ./03-build.sh && ./04-copy.sh
displayName: 'Build Image Dependencies'
- script: |
sudo sh -c 'dpkg-reconfigure qemu-user-static && ./build.sh'
cp deploy/*.zip $BUILD_ARTIFACTSTAGINGDIRECTORY
displayName: 'Build Image'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'FRCVisionImage'