diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-11-02 13:51:57 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-11-02 13:51:57 +0100 |
commit | 3446b57548684ac094bba7bce6ba924759eb7518 (patch) | |
tree | cf37cdf140c7ce7d261f38177a8fe967f583096b | |
parent | bb8c13028bf1879f28e8afd69000d4ef81b74faf (diff) | |
download | ATCD-3446b57548684ac094bba7bce6ba924759eb7518.tar.gz |
Add vcpkg with xercesc and openssl to Visual Studio 2017 jobs on Azure Devops
* azure-pipelines.yml:
-rw-r--r-- | azure-pipelines.yml | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d177d0138c9..1f6a0ffebde 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,28 +18,42 @@ jobs: Debug64: BuildPlatform: x64 BuildConfiguration: Debug + vcpkgarch: x64-windows + vcpkglibdir: debug\lib Release64: BuildPlatform: x64 BuildConfiguration: Release + vcpkgarch: x64-windows + vcpkglibdir: lib Debug32: BuildPlatform: Win32 BuildConfiguration: Debug + vcpkgarch: x86-windows + vcpkglibdir: debug\lib Release32: BuildPlatform: Win32 BuildConfiguration: Release + vcpkgarch: x86-windows + vcpkglibdir: lib + variables: + XERCESCROOT: $(Build.SourcesDirectory)\vcpkg\packages\xerces-c_$(vcpkgarch) + SSL_ROOT: $(Build.SourcesDirectory)\vcpkg\packages\openssl-windows_$(vcpkgarch) + SSL_LIBDIR: $(SSL_ROOT)\$(vcpkglibdir) + XERCESC_LIBDIR: $(XERCESCROOT)\$(vcpkglibdir) steps: - - powershell: | - $client = new-object System.Net.WebClient - $client.DownloadFile("http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-64bit.zip","strawberry-perl.zip"); - displayName: Download perl - - task: ExtractFiles@1 - displayName: Extract perl - inputs: - archiveFilePatterns: strawberry-perl.zip - destinationFolder: perl + - powershell: git clone --depth 1 git://github.com/Microsoft/vcpkg.git $(Build.SourcesDirectory)\vcpkg + displayName: git clone vcpkg + - script: .\vcpkg\bootstrap-vcpkg.bat + displayName: Bootstrap vcpkg + - script: .\vcpkg\vcpkg.exe install --recurse --triplet $(vcpkgarch) openssl xerces-c + displayName: vcpkg install dependencies - powershell: | '#include "ace/config-win32.h"' > $(ACE_ROOT)/ace/config.h displayName: Create config.h file + - powershell: | + echo "xerces3=1" | out-file -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features + echo "ssl=1" | out-file -append -encoding ASCII $(ACE_ROOT)\bin\MakeProjectCreator\config\default.features + displayName: Create default.features file - powershell: git clone --depth 1 git://github.com/DOCGroup/MPC.git $(MPC_ROOT) displayName: git clone MPC - powershell: perl $(ACE_ROOT)/bin/mwc.pl -type vs2017 $(TAO_ROOT)/TAO_ACE.mwc |