Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand All @@ -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} \
Expand All @@ -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} \
Expand All @@ -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} \
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ arch=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=12.0
compiler.version=15.0
os=Macos
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down