Changeset - r23473:7458cb17ca65
[Not reviewed]
master
0 1 0
Patric Stout - 5 years ago 2019-03-16 09:00:58
truebrain@openttd.org
Fix: [AzurePipelines] vcpkg is now preinstalled on Windows images

So instead of integrating our own, we only copy our precompiled
binaries into the right folder.
1 file changed with 7 insertions and 3 deletions:
0 comments (0 inline, 0 general)
azure-pipelines/templates/windows-dependencies.yml
Show inline comments
 
steps:
 
- bash: |
 
    set -ex
 

	
 
    curl -L https://github.com/OpenTTD/CompileFarm/releases/download/latest/windows-dependencies.zip > windows-dependencies.zip
 
    unzip windows-dependencies.zip
 
    rm -f windows-dependencies.zip
 
  displayName: 'Download dependencies'
 

	
 
    mv windows-dependencies/installed /c/vcpkg/
 
    rm -rf windows-dependencies
 
  displayName: 'Install dependencies'
 
  workingDirectory: $(Build.ArtifactStagingDirectory)
 
- script: $(Build.ArtifactStagingDirectory)\windows-dependencies\vcpkg.exe integrate install
 
  displayName: 'Install dependencies'
 
- script: c:\vcpkg\vcpkg.exe integrate install
 
  displayName: 'Integrate vcpkg'
0 comments (0 inline, 0 general)