2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

Update include_library.yml

This commit is contained in:
Peter Dimov
2025-10-10 15:33:18 +03:00
parent ee23552433
commit c6281164b0

View File

@@ -65,7 +65,6 @@ jobs:
- geometry
- gil
- graph
- graph_parallel
- hana
- hash2
- headers
@@ -93,7 +92,6 @@ jobs:
- metaparse
- move
- mp11
- mpi
- mpl
- mqtt5
- msm
@@ -108,6 +106,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Boost
run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
@@ -121,6 +120,7 @@ jobs:
git submodule update --init --jobs 3
rm -rf tools/cmake/*
cp -r $GITHUB_WORKSPACE/* tools/cmake
- name: Configure ${{matrix.library}}
working-directory: ../boost-root
run: cmake -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.library}} -DBoost_DEBUG=ON -B __build__
@@ -138,7 +138,6 @@ jobs:
- optional
- outcome
- parameter
- parameter_python
- parser
- pfr
- phoenix
@@ -150,11 +149,9 @@ jobs:
- process
- program_options
- property_map
- property_map_parallel
- property_tree
- proto
- ptr_container
- python
- qvm
- random
- range
@@ -206,6 +203,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Boost
run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
@@ -219,6 +217,76 @@ jobs:
git submodule update --init --jobs 3
rm -rf tools/cmake/*
cp -r $GITHUB_WORKSPACE/* tools/cmake
- name: Configure ${{matrix.library}}
working-directory: ../boost-root
run: cmake -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.library}} -DBoost_DEBUG=ON -B __build__
mpi:
strategy:
fail-fast: false
matrix:
library:
- graph_parallel
- mpi
- property_map_parallel
testing: [ON, OFF]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install packages
run: sudo apt-get install -y libopenmpi-dev
- name: Setup Boost
run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
git submodule update --init --jobs 3
rm -rf tools/cmake/*
cp -r $GITHUB_WORKSPACE/* tools/cmake
- name: Configure ${{matrix.library}}
working-directory: ../boost-root
run: cmake -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.library}} -DBoost_DEBUG=ON -DBOOST_ENABLE_MPI=ON -B __build__
py:
strategy:
fail-fast: false
matrix:
library:
- parameter_python
- python
testing: [ON, OFF]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Boost
run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
git submodule update --init --jobs 3
rm -rf tools/cmake/*
cp -r $GITHUB_WORKSPACE/* tools/cmake
- name: Configure ${{matrix.library}}
working-directory: ../boost-root
run: cmake -DBUILD_TESTING=${{matrix.testing}} -DBOOST_INCLUDE_LIBRARIES=${{matrix.library}} -DBoost_DEBUG=ON -DBOOST_ENABLE_PYTHON=ON -B __build__