From f4c3d1faf31f3687371c8e76ec888842cf1db13f Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Wed, 17 Sep 2025 11:46:05 +0200 Subject: [PATCH 1/4] add macos 15 tests --- .github/workflows/cmake-build.yml | 16 ++++++++-------- .github/workflows/conan/profiles/apple-clang15 | 7 +++++++ 2 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/conan/profiles/apple-clang15 diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index 40162b4f12..e166f3f759 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -162,7 +162,7 @@ jobs: .\conanrunenv-release-x86_64.ps1 ctest --extra-verbose --no-tests=error --output-on-failure shell: pwsh - macos-13: + macos-15: strategy: matrix: shared: ["shared", "static"] @@ -171,7 +171,7 @@ jobs: # "mpi", "serial" ] - runs-on: macos-13 + runs-on: macos-15 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 @@ -196,7 +196,7 @@ jobs: if [ "${H5CPP_WITH_MPI}" = "True" ]; then HDF5_SHARED=False fi - CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang12 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang15 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o with_mpi=${H5CPP_WITH_MPI} \ -o shared=${H5CPP_SHARED} \ @@ -209,17 +209,17 @@ jobs: uses: actions/cache@v4 with: path: ~/.conan/data - key: conan-apple-clang12-${{ hashfiles('base.lock') }}-${{ hashFiles('conan.lock') }} + key: conan-apple-clang15-${{ hashfiles('base.lock') }}-${{ hashFiles('conan.lock') }} restore-keys: | - conan-apple-clang12-${{ hashfiles('base.lock') }} - conan-apple-clang12 + conan-apple-clang15-${{ hashfiles('base.lock') }} + conan-apple-clang15 - name: Install conan dependencies run: | HDF5_SHARED=${H5CPP_SHARED} if [ "${H5CPP_WITH_MPI}" = "True" ]; then HDF5_SHARED=False fi - CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang12 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang15 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o with_mpi=${H5CPP_WITH_MPI} \ -o shared=${H5CPP_SHARED} \ @@ -237,7 +237,7 @@ jobs: if [ "${H5CPP_WITH_MPI}" = "True" ]; then HDF5_SHARED=False fi - CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang12 \ + CONAN_ARGS="--profile .github/workflows/conan/profiles/apple-clang15 \ -o with_boost=${H5CPP_WITH_BOOST} \ -o with_mpi=${H5CPP_WITH_MPI} \ -o shared=${H5CPP_SHARED} \ diff --git a/.github/workflows/conan/profiles/apple-clang15 b/.github/workflows/conan/profiles/apple-clang15 new file mode 100644 index 0000000000..9bbfa78f2a --- /dev/null +++ b/.github/workflows/conan/profiles/apple-clang15 @@ -0,0 +1,7 @@ +[settings] +arch=x86_64 +build_type=Release +compiler=apple-clang +compiler.libcxx=libc++ +compiler.version=15.0 +os=Macos From 7fcbe57758e0f88794f79407f7645c94169925ed Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Wed, 17 Sep 2025 11:48:20 +0200 Subject: [PATCH 2/4] change owner back --- .github/workflows/cmake-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cmake-build.yml b/.github/workflows/cmake-build.yml index e166f3f759..7535e11c12 100644 --- a/.github/workflows/cmake-build.yml +++ b/.github/workflows/cmake-build.yml @@ -359,3 +359,8 @@ jobs: FOLDER: . GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MESSAGE: "Build: ({sha}) {msg}" + + - name: Stop the docker + run: | + docker exec --user root build /bin/bash -c "chown -R 1001 /home/p00user/src " + docker container stop build From 909f754e4d73a39a6818b684c6c0d539dce9b44f Mon Sep 17 00:00:00 2001 From: George O'Neill <133203284+ggoneiESS@users.noreply.github.com> Date: Wed, 17 Sep 2025 13:11:15 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2a03b238bf..ef5c252bdb 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,14 @@ To install the library to system, you would follow this up with: sudo make install ``` +The tests are configured to guarantee support to the following operating systems: +- Ubuntu 22.04 +- Ubuntu 24.04 +- macOS 15 (Sequoia) +- Windows Server 2022 (=> Windows 11) + +but other recent OSes should also be fine + ### Alternate install directory If you do not wish to install *h5cpp* to your system folders you can slightly modify the From db1bb36e326631888203ada76afbfd6122d91420 Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Wed, 17 Sep 2025 13:22:56 +0200 Subject: [PATCH 4/4] remove conan/profiles/apple-clang12 --- .github/workflows/conan/profiles/apple-clang12 | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 .github/workflows/conan/profiles/apple-clang12 diff --git a/.github/workflows/conan/profiles/apple-clang12 b/.github/workflows/conan/profiles/apple-clang12 deleted file mode 100644 index fb44983188..0000000000 --- a/.github/workflows/conan/profiles/apple-clang12 +++ /dev/null @@ -1,7 +0,0 @@ -[settings] -arch=x86_64 -build_type=Release -compiler=apple-clang -compiler.libcxx=libc++ -compiler.version=12.0 -os=Macos