Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdmoore committed Oct 7, 2020
2 parents d521667 + 05feb86 commit adbf48e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

# Provide a name for the job
- job: Linux
timeoutInMinutes: 180 # how long to run the job before automatically cancelling
# The VM image to use for the hosted agent. For a list of possible agents
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted
# You can see the software installed on each agent at the same link.
Expand All @@ -25,6 +26,14 @@ jobs:
displayName: apt-get install prereqs
#- script: echo "set(VCPKG_BUILD_TYPE release)" >> $VCPKG_INSTALLATION_ROOT/triplets/x64-linux.cmake
# displayName: vcpkg set build type
- script: git -C "/usr/local/share/vcpkg" status
- script: git -C "/usr/local/share/vcpkg" reset --hard
displayName: reset vcpkg to master
- script: git -C "/usr/local/share/vcpkg" status
- script: git -C "/usr/local/share/vcpkg" pull
displayName: vcpkg pull latest
- script: sudo sh /usr/local/share/vcpkg/bootstrap-vcpkg.sh
displayName: rebuild vcpkg
- script: vcpkg install nlopt:x64-linux boost-asio:x64-linux
displayName: vcpkg install dependencies
- task: CMake@1
Expand All @@ -38,13 +47,22 @@ jobs:

# Provide a name for the job
- job: Windows
timeoutInMinutes: 180 # how long to run the job before automatically cancelling
# The VM image to use for the hosted agent. For a list of possible agents
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted
# You can see the software installed on each agent at the same link.
pool:
vmImage: 'windows-latest'
# The steps to run to execute the build.
steps:
- script: git -C "C:/vcpkg" status
- script: git -C "C:/vcpkg" reset --hard
displayName: reset vcpkg to master
- script: git -C "C:/vcpkg" status
- script: git -C "C:/vcpkg" pull
displayName: vcpkg pull latest
- script: C:/vcpkg/bootstrap-vcpkg.bat
displayName: rebuild vcpkg
- script: vcpkg install opencv[ffmpeg]:x64-windows nlopt:x64-windows boost-asio:x64-windows ffmpeg[x264]:x64-windows
displayName: vcpkg install dependencies
- task: CMake@1
Expand Down

0 comments on commit adbf48e

Please sign in to comment.