Skip to content

Commit

Permalink
Restrict Boost range
Browse files Browse the repository at this point in the history
Boost 1.84 is not supported. Drop the macOS CI job: Homebrew only
provides a recipe for boost-mpi version 1.84.
  • Loading branch information
jngrad committed Feb 21, 2024
1 parent 220aa61 commit f4590fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push_pull.yml
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
macos:
runs-on: macos-12
if: ${{ github.repository == 'espressomd/espresso' }}
if: false
steps:
- name: Checkout
uses: actions/checkout@main
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -435,6 +435,9 @@ if(ESPRESSO_BUILD_TESTS)
endif()

find_package(Boost 1.74.0 REQUIRED ${BOOST_COMPONENTS})
if(${Boost_VERSION} VERSION_GREATER_EQUAL 1.84.0)
message(FATAL_ERROR "Boost version ${Boost_VERSION} is unsupported.")
endif()

#
# Paths
Expand Down

0 comments on commit f4590fd

Please sign in to comment.