From e4dea28c16c6c9b334d0207c2bd9d79f9f679ff5 Mon Sep 17 00:00:00 2001 From: Nathan Date: Wed, 20 Aug 2025 18:17:19 -0700 Subject: [PATCH] lock vcpkg versions, and create the zip file using the vcpkg export command --- .github/workflows/build_vcpkg_env.yaml | 10 +++------- vcpkg.json | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_vcpkg_env.yaml b/.github/workflows/build_vcpkg_env.yaml index 30fd3230..6504eeee 100644 --- a/.github/workflows/build_vcpkg_env.yaml +++ b/.github/workflows/build_vcpkg_env.yaml @@ -18,15 +18,11 @@ jobs: - name: Install vcpkg dependencies run: .\vcpkg\vcpkg.exe install --triplet x64-windows - - name: Package vcpkg environment - run: | - mkdir vcpkg_env - xcopy vcpkg.json vcpkg_env\ /Y - xcopy /E /I /Y vcpkg\vcpkg_installed vcpkg_env\vcpkg_installed - powershell Compress-Archive -Path vcpkg_env -DestinationPath vcpkg_env.zip + - name: Export vcpkg dependencies + run: .\vcpkg\vcpkg.exe export --zip --output-dir=.\exports - name: Upload artifact uses: actions/upload-artifact@v4 with: name: vcpkg-env-x64-windows - path: vcpkg_env.zip + path: exports.zip diff --git a/vcpkg.json b/vcpkg.json index 06620a3e..171a00a6 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -24,5 +24,31 @@ "libgeotiff", "cgal", "yasm-tool" + ], + "overrides": [ + { "name": "eigen3", "version": "3.4.0#5" }, + { "name": "suitesparse", "version": "7.8.3" }, + { "name": "lapack", "version": "2023-06-10#2" }, + { "name": "tbb", "version": "2022.1.0" }, + { "name": "glog", "version": "0.7.1" }, + { "name": "curl", "version": "8.15.0#1" }, + { "name": "libxml2", "version": "2.14.5" }, + { "name": "zlib", "version": "1.3.1" }, + { "name": "libpng", "version": "1.6.50" }, + { "name": "libjpeg-turbo", "version": "3.1.1" }, + { "name": "tiff", "version": "4.7.0" }, + { "name": "flann", "version": "2022-10-28" }, + { "name": "boost-filesystem", "version": "1.88.0" }, + { "name": "boost-date-time", "version": "1.88.0" }, + { "name": "boost-iostreams", "version": "1.88.0" }, + { "name": "boost-foreach", "version": "1.88.0" }, + { "name": "boost-signals2", "version": "1.88.0" }, + { "name": "boost-interprocess", "version": "1.88.0" }, + { "name": "boost-graph", "version": "1.88.0" }, + { "name": "boost-asio", "version": "1.88.0" }, + { "name": "boost-program-options", "version": "1.88.0" }, + { "name": "libgeotiff", "version": "1.7.4" }, + { "name": "cgal", "version": "6.0.1" }, + { "name": "yasm-tool", "version": "2021-12-14" } ] } \ No newline at end of file