File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " web-eid-app" ,
3+ "dependencies" : [" openssl" , " gtest" ],
4+ "builtin-baseline" : " bc38a15b0bee8bc48a49ea267cc32fbb49aedfc4"
5+ }
Original file line number Diff line number Diff line change @@ -14,15 +14,26 @@ jobs:
1414 - name : Checkout code
1515 uses : actions/checkout@v4
1616
17+ - name : Cache vcpkg
18+ uses : actions/cache@v4
19+ with :
20+ path : ${{ github.workspace }}/vcpkg_cache
21+ key : vcpkg-${{ hashFiles('vcpkg.json') }}
22+
1723 - name : Prepare vcpkg and libraries
18- uses : lukka/run-vcpkg@v7
24+ uses : lukka/run-vcpkg@v11
1925 with :
20- vcpkgArguments : gtest:x64-windows openssl:x64-windows
21- vcpkgTriplet : x64-windows
22- vcpkgGitCommitId : 031ad89ce6c575df35a8e58707ad2c898446c63e
26+ vcpkgJsonGlob : .github/vcpkg.json
27+ runVcpkgInstall : true
28+ env :
29+ VCPKG_BINARY_SOURCES : clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
30+ VCPKG_INSTALLED_DIR : ${{ github.workspace }}/build/vcpkg_installed
2331
2432 - name : Configure CMake
25- run : cmake -A x64 "-DCMAKE_TOOLCHAIN_FILE=${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=${env:BUILD_TYPE}" -S . -B build
33+ run : |
34+ cmake -A x64 -S . -B build "-DCMAKE_BUILD_TYPE=${env:BUILD_TYPE}" `
35+ "-DCMAKE_TOOLCHAIN_FILE=${env:VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" `
36+ "-DVCPKG_MANIFEST_DIR=${{ github.workspace }}/.github"
2637
2738 - name : Build
2839 run : cmake --build build --config ${env:BUILD_TYPE}
You can’t perform that action at this time.
0 commit comments