[parallel] Fix hpx::nth_element to correctly support C++20 projections and sentinels #1382
Workflow file for this run
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
| # Copyright (c) 2026 Ujjwal Shekhar | |
| # | |
| # SPDX-License-Identifier: BSL-1.0 | |
| # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
| # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
| name: Linux CI (Release, Clang P2996 Reflection) | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: stellargroup/clang_p2996_build_env:1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Configure | |
| shell: bash | |
| run: | | |
| cmake \ | |
| . \ | |
| -Bbuild \ | |
| -GNinja \ | |
| -DHPX_WITH_MALLOC=system \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DHPX_WITH_CXX_STANDARD=26 \ | |
| -DCMAKE_C_COMPILER=clang \ | |
| -DCMAKE_CXX_COMPILER=clang++ \ | |
| -DCMAKE_CXX_FLAGS="-freflection-latest -stdlib=libc++ -D__cpp_lib_experimental_meta=202403L" \ | |
| -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -L${CLANG_P2996_LIBS} -Wl,-rpath,${CLANG_P2996_LIBS} -L${SYSTEM_LINKER_PATH} -latomic" \ | |
| -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++ -L${CLANG_P2996_LIBS} -Wl,-rpath,${CLANG_P2996_LIBS} -L${SYSTEM_LINKER_PATH} -latomic" \ | |
| -DCMAKE_REQUIRED_LIBRARIES="atomic" \ | |
| -DHPX_INTERNAL_CACHE_LINE_SIZE_DETECT=64 \ | |
| -DHPX_WITH_FETCH_ASIO=ON \ | |
| -DHPX_WITH_EXAMPLES=OFF \ | |
| -DHPX_WITH_TESTS=ON \ | |
| -DHPX_WITH_TESTS_MAX_THREADS_PER_LOCALITY=2 \ | |
| -DHPX_SERIALIZATION_WITH_ALLOW_AUTO_GENERATE=ON \ | |
| -DHPX_WITH_CHECK_MODULE_DEPENDENCIES=On | |
| - name: Build | |
| shell: bash | |
| run: | | |
| cmake --build build --target all | |
| cmake --build build --target tests.unit.modules.serialization | |
| - name: Test | |
| shell: bash | |
| run: | | |
| cd build | |
| ctest \ | |
| --output-on-failure \ | |
| --tests-regex "tests.unit.modules.serialization" | |