Special case header-only libraries in BoostConfig.cmake #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Find Component CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| - feature/** | |
| tags: ['**'] | |
| workflow_dispatch: | |
| jobs: | |
| a-m: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| library: | |
| - accumulators | |
| - algorithm | |
| - align | |
| - any | |
| - array | |
| - asio | |
| - assert | |
| - assign | |
| - atomic | |
| - beast | |
| - bimap | |
| - bind | |
| - bloom | |
| - callable_traits | |
| - charconv | |
| - chrono | |
| - circular_buffer | |
| - cobalt | |
| - compat | |
| - compute | |
| - concept_check | |
| - config | |
| - container | |
| - container_hash | |
| - context | |
| - contract | |
| - conversion | |
| - convert | |
| - core | |
| - coroutine | |
| - coroutine2 | |
| - crc | |
| - date_time | |
| - decimal | |
| - describe | |
| - detail | |
| - dll | |
| - dynamic_bitset | |
| - endian | |
| - exception | |
| - fiber | |
| - filesystem | |
| - flyweight | |
| - foreach | |
| - format | |
| - function | |
| - functional | |
| - function_types | |
| - fusion | |
| - geometry | |
| - gil | |
| - graph | |
| - graph_parallel | |
| - hana | |
| - hash2 | |
| - headers | |
| - heap | |
| - histogram | |
| - hof | |
| - icl | |
| - integer | |
| - interprocess | |
| - intrusive | |
| - io | |
| - iostreams | |
| - iterator | |
| - json | |
| - lambda | |
| - lambda2 | |
| - leaf | |
| - lexical_cast | |
| - locale | |
| - local_function | |
| - lockfree | |
| - log | |
| - logic | |
| - math | |
| - metaparse | |
| - move | |
| - mp11 | |
| - mpi | |
| - mpl | |
| - mqtt5 | |
| - msm | |
| - multiprecision | |
| - multi_array | |
| - multi_index | |
| - mysql | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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/boost_install/* | |
| cp -r $GITHUB_WORKSPACE/* tools/boost_install | |
| - name: Configure ${{matrix.library}} | |
| working-directory: ../boost-root | |
| run: cmake -DCOMPONENT=${{matrix.library}} -B __build__ | |
| - name: Run test | |
| working-directory: ../boost-root | |
| run: cmake --build __build__ --target check | |
| n-z: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| library: | |
| - nowide | |
| - numeric/conversion | |
| - numeric/interval | |
| - numeric/odeint | |
| - numeric/ublas | |
| - openmethod | |
| - optional | |
| - outcome | |
| - parameter | |
| - parameter_python | |
| - parser | |
| - pfr | |
| - phoenix | |
| - polygon | |
| - poly_collection | |
| - pool | |
| - predef | |
| - preprocessor | |
| - process | |
| - program_options | |
| - property_map | |
| - property_map_parallel | |
| - property_tree | |
| - proto | |
| - ptr_container | |
| - python | |
| - qvm | |
| - random | |
| - range | |
| - ratio | |
| - rational | |
| - redis | |
| - regex | |
| - safe_numerics | |
| - scope | |
| - scope_exit | |
| - serialization | |
| - signals2 | |
| - smart_ptr | |
| - sort | |
| - spirit | |
| - stacktrace | |
| - statechart | |
| - static_assert | |
| - static_string | |
| - stl_interfaces | |
| - system | |
| - test | |
| - thread | |
| - throw_exception | |
| - timer | |
| - tokenizer | |
| - tti | |
| - tuple | |
| - typeof | |
| - type_erasure | |
| - type_index | |
| - type_traits | |
| - units | |
| - unordered | |
| - url | |
| - utility | |
| - uuid | |
| - variant | |
| - variant2 | |
| - vmd | |
| - wave | |
| - winapi | |
| - xpressive | |
| - yap | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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/boost_install/* | |
| cp -r $GITHUB_WORKSPACE/* tools/boost_install | |
| - name: Configure ${{matrix.library}} | |
| working-directory: ../boost-root | |
| run: cmake -DCOMPONENT=${{matrix.library}} -B __build__ | |
| - name: Run test | |
| working-directory: ../boost-root | |
| run: cmake --build __build__ --target check |