File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 22set -e
33case $( uname -s | cut -c1-7) in
44" Windows" | " MINGW64" )
5- choco install openssl --version 3.4.1 --install-arguments=" '/DIR=C:\OpenSSL'" -y
6- export OPENSSL_LIB_DIR=' C:\OpenSSL\lib\VC\x64\MT'
7- export OPENSSL_INCLUDE_DIR=' C:\OpenSSL\include'
5+ cat > vcpkg.json << EOL
6+ {
7+ "dependencies": ["openssl"],
8+ "overrides": [
9+ {
10+ "name": "openssl",
11+ "version": "3.4.1"
12+ }
13+ ],
14+ "builtin-baseline": "5ee5eee0d3e9c6098b24d263e9099edcdcef6631"
15+ }
16+ EOL
17+ vcpkg install --triplet x64-windows-static-md
18+ rm vcpkg.json
19+ export " OPENSSL_LIB_DIR=$GITHUB_WORKSPACE /vcpkg_installed/x64-windows-static-md/lib"
20+ export " OPENSSL_INCLUDE_DIR=$GITHUB_WORKSPACE /vcpkg_installed/x64-windows-static-md/include"
821 choco install protoc
922 export PROTOC=' C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe'
1023 ;;
You can’t perform that action at this time.
0 commit comments