From e22f75d6babec54b4cd1e62a8043845620ec6c2c Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Wed, 6 May 2026 15:29:32 +0200 Subject: [PATCH 1/2] update windows-2022 to windows-2025 --- .github/workflows/cmake-build.yml | 16 ++++++++-------- .github/workflows/conan/profiles/vs2025 | 10 ++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/conan/profiles/vs2025 diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 88d3cab178..13140f6aa8 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -92,7 +92,7 @@ jobs: run: | cd build ctest --extra-verbose --no-tests=error - windows-2022: + windows-2025: strategy: matrix: shared: [ @@ -103,7 +103,7 @@ jobs: "boost", "stdfs" ] - runs-on: windows-2022 + runs-on: windows-2025 steps: - uses: actions/checkout@v4 - name: Add MSVC to PATH @@ -117,7 +117,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade conan - CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2022 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2025 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o shared=${H5CPP_SHARED} \ -o *:shared=${H5CPP_SHARED}" @@ -129,13 +129,13 @@ jobs: uses: actions/cache@v4 with: path: ~/.conan/data - key: conan-vs2022-${{ hashfiles('base.lock') }}-${{ hashFiles('conan.lock') }} + key: conan-vs2025-${{ hashfiles('base.lock') }}-${{ hashFiles('conan.lock') }} restore-keys: | - conan-vs-2022-${{ hashfiles('base.lock') }} - conan-vs-2022 + conan-vs-2025-${{ hashfiles('base.lock') }} + conan-vs-2025 - name: Install conan dependencies run: | - CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2022 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2025 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o shared=${H5CPP_SHARED} \ -o *:shared=${H5CPP_SHARED}" @@ -148,7 +148,7 @@ jobs: --generator VirtualRunEnv - name: Build with cmake run: | - CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2022 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/vs2025 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o shared=${H5CPP_SHARED} \ -o *:shared=${H5CPP_SHARED}" diff --git a/.github/workflows/conan/profiles/vs2025 b/.github/workflows/conan/profiles/vs2025 new file mode 100644 index 0000000000..2fb8cf4f71 --- /dev/null +++ b/.github/workflows/conan/profiles/vs2025 @@ -0,0 +1,10 @@ +[settings] +arch=x86_64 +build_type=Release +compiler=msvc +compiler.version=194 +compiler.runtime=dynamic +os=Windows + +[conf] +tools.env.virtualenv:powershell=pwsh From 2ddba612a5de25ff361f909c2307cf7bf3a06163 Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Wed, 6 May 2026 15:45:08 +0200 Subject: [PATCH 2/2] remove old vs20* profiles --- .github/workflows/conan/profiles/vs2019 | 10 ---------- .github/workflows/conan/profiles/vs2022 | 10 ---------- test/core/fixed_length_string_test.cpp | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 .github/workflows/conan/profiles/vs2019 delete mode 100644 .github/workflows/conan/profiles/vs2022 diff --git a/.github/workflows/conan/profiles/vs2019 b/.github/workflows/conan/profiles/vs2019 deleted file mode 100644 index ec8c8613ae..0000000000 --- a/.github/workflows/conan/profiles/vs2019 +++ /dev/null @@ -1,10 +0,0 @@ -[settings] -arch=x86_64 -build_type=Release -compiler=msvc -compiler.version=192 -compiler.runtime=dynamic -os=Windows - -[conf] -tools.env.virtualenv:powershell=True diff --git a/.github/workflows/conan/profiles/vs2022 b/.github/workflows/conan/profiles/vs2022 deleted file mode 100644 index 2fb8cf4f71..0000000000 --- a/.github/workflows/conan/profiles/vs2022 +++ /dev/null @@ -1,10 +0,0 @@ -[settings] -arch=x86_64 -build_type=Release -compiler=msvc -compiler.version=194 -compiler.runtime=dynamic -os=Windows - -[conf] -tools.env.virtualenv:powershell=pwsh diff --git a/test/core/fixed_length_string_test.cpp b/test/core/fixed_length_string_test.cpp index d473a21441..0004570106 100644 --- a/test/core/fixed_length_string_test.cpp +++ b/test/core/fixed_length_string_test.cpp @@ -221,4 +221,4 @@ SCENARIO("testing reading of fixed-size string attributes") } } } -} \ No newline at end of file +}