burrow-pi-img/azure-pipelines.yml
Peter Johnson 43c710ec39
Build wpilib with cmake instead of gradle (#15)
* Move java lib install to /usr/local/frc/java
* Build and install both debug and normal OpenCV libraries
* Install OpenCV cmake files
* Build OpenCV Java with version 8 target
* Build static OpenCV for static allwpilib binaries
* Move netconsoleTee install to /usr/local/frc/bin
* Move multiCameraServer default app install to /usr/local/frc/bin
* Install more FRC binaries
* Fix /home/pi/zips/java-multiCameraServer.zip owner to pi:pi
* Remove azure 60 minute timeout
* Add openjdk-8-jdk to Azure docker image (this is needed for cmake to find javah as only cmake 3.9 is available)
2018-12-30 02:07:22 -08:00

29 lines
703 B
YAML

resources:
containers:
- container: pi-gen
image: wpilib/pi-gen:latest
options: --privileged
jobs:
- job: 'Main'
pool:
vmImage: 'Ubuntu 16.04'
timeoutInMinutes: 0
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'