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'
|
|
|
|
|
2018-12-30 10:07:22 +00:00
|
|
|
timeoutInMinutes: 0
|
|
|
|
|
2018-12-25 21:57:40 +00:00
|
|
|
container: pi-gen
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
submodules: true
|
|
|
|
- script: |
|
|
|
|
sudo sh -c 'dpkg-reconfigure qemu-user-static && ./build.sh'
|
2019-02-03 07:37:18 +00:00
|
|
|
cp deploy/*.zip deploy/examples/*.zip $BUILD_ARTIFACTSTAGINGDIRECTORY
|
2018-12-25 21:57:40 +00:00
|
|
|
displayName: 'Build Image'
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
|
|
|
artifactName: 'FRCVisionImage'
|