1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 09:29:52 +03:00

Use vcpkg manifest and pin to OpenSSL 1.1.1

This commit is contained in:
Yihong Wu 2022-04-27 16:13:37 +08:00
parent 817ecf2348
commit 900947bd08
2 changed files with 19 additions and 6 deletions

View File

@ -11,13 +11,9 @@ parameters:
steps:
- task: Cache@2
inputs:
key: '"vcpkg-installed-windows-${{parameters.architecture}}"'
path: 'C:/vcpkg/installed'
key: '"vcpkg-manifest" | "$(Agent.OS)" | "${{parameters.vcpkgTriplet}}" | C:/vcpkg/.git/refs/heads/master'
path: '$(Build.BinariesDirectory)/vcpkg_installed'
displayName: 'Environment storage'
- script: |
vcpkg install libsodium openssl zlib --triplet ${{parameters.vcpkgTriplet}}
workingDirectory: C:/vcpkg
displayName: 'Prepare environment'
- script: '$(Build.SourcesDirectory)/.ci/azure-pipelines/windows_build.bat'
env:
ARCHITECTURE: ${{parameters.architecture}}

17
vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "softether-vpn",
"version-string": "5.02",
"dependencies": [
"libsodium",
"openssl",
"zlib"
],
"overrides": [
{
"name": "openssl",
"version-string": "1.1.1n"
}
],
"builtin-baseline": "f6af75acc923c833a5620943e3fc7d5e4930f0df"
}