Repository navigation
Add Rules policy parameter and tuned variant for local_workrequesting_scheduler #10545
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) 2020 Mikael Simberg | |
| # Copyright (c) 2024 The STE||AR Group | |
| # | |
| # 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: Windows CI (Debug, VS2022 toolset) | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: lukka/get-cmake@v4.5.1 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup-vcpkg | |
| - name: Configure | |
| shell: bash | |
| run: | | |
| cmake . -Bbuild -G'Visual Studio 17 2022' \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_TOOLCHAIN_FILE='C:/projects/vcpkg/scripts/buildsystems/vcpkg.cmake' \ | |
| -DHPX_WITH_FETCH_ASIO=ON \ | |
| -DHPX_WITH_ASIO_TAG=asio-1-34-2 \ | |
| -DHPX_WITH_EXAMPLES=ON \ | |
| -DHPX_WITH_TESTS=ON \ | |
| -DHPX_WITH_TESTS_EXAMPLES=ON \ | |
| -DHPX_WITH_TESTS_UNIT=ON \ | |
| -DHPX_WITH_SUPERVISION=ON \ | |
| -DHPX_WITH_DEPRECATION_WARNINGS=OFF \ | |
| -DHPX_WITH_TESTS_MAX_THREADS_PER_LOCALITY=2 \ | |
| -DHPX_COROUTINES_WITH_SWAP_CONTEXT_EMULATION=ON \ | |
| -DHPX_WITH_VERIFY_LOCKS=ON \ | |
| -DHPX_WITH_VERIFY_LOCKS_BACKTRACE=ON \ | |
| -DHPX_WITH_CHECK_MODULE_DEPENDENCIES=On \ | |
| -DHPX_WITH_CONTRACTS=ON \ | |
| -DHPX_WITH_DATAPAR=On \ | |
| -DHPX_WITH_DATAPAR_BACKEND=EMULATE | |
| - name: Build | |
| shell: bash | |
| run: | | |
| cmake --build build --config Debug \ | |
| --target ALL_BUILD \ | |
| -- -maxcpucount:2 -verbosity:minimal -nologo | |
| cmake --build build --config Debug \ | |
| --target autolink_test auto_wrap_main_test \ | |
| --target chunk_size_iterator_test chunk_size_idx_iterator_test \ | |
| --target unwrap_nested_containers_7945_test \ | |
| -- -maxcpucount:2 -verbosity:minimal -nologo | |
| - name: Install | |
| shell: bash | |
| run: | | |
| cmake --install build --config Debug | |
| - name: Test | |
| run: | | |
| $exclude_regex = & "$env:GITHUB_WORKSPACE/.github/ci-scripts/generate_ctest_exclude_regex.ps1" ` | |
| "$env:GITHUB_WORKSPACE/.github/workflows/tests.examples.targets" | |
| cd build | |
| ctest ` | |
| --output-on-failure ` | |
| --build-config Debug ` | |
| --tests-regex 'tests\.examples|tests\.unit\.modules\.config\.autolink|tests\.unit\.init\.auto_wrap_main|tests\.unit\.modules\.algorithms\.detail\.chunk_size_(idx_)?iterator|tests\.regressions\.modules\.pack_traversal\.unwrap_nested_containers_7945' ` | |
| --exclude-regex $exclude_regex |