From e15fabd2e1292745302d7384b405b83cc3923a44 Mon Sep 17 00:00:00 2001 From: Thad House Date: Mon, 24 Sep 2018 16:36:24 -0700 Subject: [PATCH] Add cmake azure build (#1332) --- azure-pipelines.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 05ffde9f8f..940c541870 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -71,6 +71,24 @@ jobs: displayName: 'Check WPIFormat Output' failOnStderr: true + - job: CMakeBuild + pool: + vmImage: 'Ubuntu 16.04' + + steps: + - script: | + sudo add-apt-repository ppa:lkoppel/opencv -y + sudo apt-get update -y + sudo apt-get install libopencv-dev -y + displayName: 'Install Dependencies' + - task: CMake@1 + inputs: + cmakeArgs: '-DWITHOUT_ALLWPILIB=OFF ..' + - script: | + make -j3 + workingDirectory: 'build' + displayName: 'Build' + - job: Windows_64_Bit pool: vmImage: 'vs2017-win2017'