Skip to content

Add Rules policy parameter and tuned variant for local_workrequesting_scheduler #5802

Add Rules policy parameter and tuned variant for local_workrequesting_scheduler

Add Rules policy parameter and tuned variant for local_workrequesting_scheduler #5802

# Copyright (c) 2026 Surya Teja
#
# 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, GCC Trunk Reflection)
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container: stellargroup/gcc_trunk_build_env:2
steps:
- uses: actions/checkout@v7
- name: Configure
shell: bash
run: |
cmake \
. \
-Bbuild \
-GNinja \
-DHPX_WITH_MALLOC=system \
-DCMAKE_BUILD_TYPE=Debug \
-DHPX_WITH_CXX_STANDARD=26 \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_CXX_FLAGS="-freflection -std=c++26 -latomic -fcontracts -fcontract-evaluation-semantic=enforce" \
-DCMAKE_EXE_LINKER_FLAGS="-latomic" \
-DCMAKE_SHARED_LINKER_FLAGS="-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_WITH_CHECK_MODULE_DEPENDENCIES=On
- name: Build
shell: bash
run: |
cmake --build build --target all
cmake --build build --target tests.unit.modules.serialization
cmake --build build --target tests.unit.modules.contracts
cmake --build build --target tests.unit.modules.actions_base
cmake --build build --target tests.unit.modules.threading_base
cmake --build build --target tests.unit.modules.actions.action_task_size
- name: Test
shell: bash
run: |
cd build
ctest --output-on-failure --tests-regex "tests.unit.modules.serialization"
ctest --output-on-failure --tests-regex "tests.unit.modules.contracts"
ctest --output-on-failure --tests-regex "tests.unit.modules.actions_base"
ctest --output-on-failure --tests-regex "tests.unit.modules.threading_base"
ctest --output-on-failure --tests-regex "tests.unit.modules.actions.action_task_size|tests.unit.modules.actions.fail_action_task_size_annotations"