From 7ba32370078fc080cbc2812b0e42d3a9cdb2fea0 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Mon, 10 Feb 2025 20:57:43 +0100 Subject: [PATCH] vcpkg 2025.01.13, update nixpkgs --- .github/workflows/build-macos.yml | 3 ++- .github/workflows/build-windows.yml | 3 ++- cmake/ConfigureVcpkg.cmake | 2 +- flake.lock | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 634f1b18..90328b91 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -10,6 +10,7 @@ on: - master env: + VCPKG_COMMIT: 6f29f12e82a8293156836ad81cc9bf5af41fe836 MELONDS_GIT_BRANCH: ${{ github.ref }} MELONDS_GIT_HASH: ${{ github.sha }} MELONDS_BUILD_PROVIDER: GitHub Actions @@ -34,7 +35,7 @@ jobs: - name: Set up vcpkg uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c + vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }} - name: Build uses: lukka/run-cmake@v10 with: diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 6a5ac754..1faa8121 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -10,6 +10,7 @@ on: - master env: + VCPKG_COMMIT: 6f29f12e82a8293156836ad81cc9bf5af41fe836 MELONDS_GIT_BRANCH: ${{ github.ref }} MELONDS_GIT_HASH: ${{ github.sha }} MELONDS_BUILD_PROVIDER: GitHub Actions @@ -33,7 +34,7 @@ jobs: - name: Set up vcpkg uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c + vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }} - name: Configure run: cmake --preset=release-mingw-x86_64 -DMELONDS_EMBED_BUILD_INFO=ON - name: Build diff --git a/cmake/ConfigureVcpkg.cmake b/cmake/ConfigureVcpkg.cmake index d09749ab..11d9ebda 100644 --- a/cmake/ConfigureVcpkg.cmake +++ b/cmake/ConfigureVcpkg.cmake @@ -9,7 +9,7 @@ if (VCPKG_ROOT STREQUAL "${_DEFAULT_VCPKG_ROOT}") endif() FetchContent_Declare(vcpkg GIT_REPOSITORY "https://github.com/Microsoft/vcpkg.git" - GIT_TAG 2024.11.16 + GIT_TAG 2025.01.13 SOURCE_DIR "${CMAKE_SOURCE_DIR}/vcpkg") FetchContent_MakeAvailable(vcpkg) endif() diff --git a/flake.lock b/flake.lock index 5ba6ab84..85be38fa 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732014248, - "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", + "lastModified": 1739020877, + "narHash": "sha256-mIvECo/NNdJJ/bXjNqIh8yeoSjVLAuDuTUzAo7dzs8Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", + "rev": "a79cfe0ebd24952b580b1cf08cd906354996d547", "type": "github" }, "original": {