Stabilize chronic CI build diagnostics in sandbox teardown and CPU shortest-path handling #113
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: "Build: Clang Fast" | |
| # Rechenaufwand-Score: R=4 (K=4, L=4, N=4) | last-calibrated: 2026-08-26 | |
| # Trigger policy: repo framework score calibration for workflow cost controls. | |
| # Lightweight clang lane for early diagnostics without sanitizer overhead. | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - community | |
| paths: | |
| - 'src/distributed_tensor/**/*.c' | |
| - 'src/distributed_tensor/**/*.cc' | |
| - 'src/distributed_tensor/**/*.cpp' | |
| - 'src/distributed_tensor/**/*.cxx' | |
| - 'src/distributed_tensor/**/*.h' | |
| - 'src/distributed_tensor/**/*.hh' | |
| - 'src/distributed_tensor/**/*.hpp' | |
| - 'src/distributed_tensor/**/*.hxx' | |
| - 'include/distributed_tensor/**/*.h' | |
| - 'include/distributed_tensor/**/*.hh' | |
| - 'include/distributed_tensor/**/*.hpp' | |
| - 'include/distributed_tensor/**/*.hxx' | |
| - 'include/distributed_tensor/**/*.ipp' | |
| - 'include/distributed_tensor/**/*.tpp' | |
| - 'tests/epic3_distributed_tensor/**/*.c' | |
| - 'tests/epic3_distributed_tensor/**/*.cc' | |
| - 'tests/epic3_distributed_tensor/**/*.cpp' | |
| - 'tests/epic3_distributed_tensor/**/*.cxx' | |
| - 'tests/epic3_distributed_tensor/**/*.h' | |
| - 'tests/epic3_distributed_tensor/**/*.hh' | |
| - 'tests/epic3_distributed_tensor/**/*.hpp' | |
| - 'tests/epic3_distributed_tensor/**/*.hxx' | |
| - 'CMakeLists.txt' | |
| - 'CMakePresets.json' | |
| - 'cmake/**/*.cmake' | |
| - 'cmake/**/*.txt' | |
| - 'cmake/**/*.in' | |
| - 'vcpkg.json' | |
| - 'vcpkg-configuration.json' | |
| - '.github/workflows/build-clang-fast.yml' | |
| - '.github/workflows/reusable-cmake-build.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| actions: read | |
| concurrency: | |
| group: ci-build-clang-fast-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-clang-fast: | |
| uses: ./.github/workflows/reusable-cmake-build.yml | |
| with: | |
| runs_on: ubuntu-latest | |
| shell: bash | |
| fetch_depth: '0' | |
| submodules: false | |
| working_directory: . | |
| setup_command: >- | |
| set -euo pipefail; sudo apt-get update -qq; sudo apt-get install -y --no-install-recommends clang lld cmake ninja-build pkg-config sccache librocksdb-dev libgtest-dev libssl-dev zlib1g-dev libzstd-dev libfmt-dev libspdlog-dev nlohmann-json3-dev libtbb-dev libyaml-cpp-dev libmimalloc-dev libcurl4-openssl-dev libvulkan-dev glslc libcpp-httplib-dev libboost-dev libboost-system-dev libboost-filesystem-dev libgrpc++-dev libprotobuf-dev protobuf-compiler-grpc libpugixml-dev | |
| configure_command: >- | |
| cmake -S . -B build-clang-fast -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic" -DTHEMIS_BUILD_BENCHMARKS=OFF -DTHEMIS_BUILD_TESTS=ON | |
| build_command: >- | |
| cmake --build build-clang-fast --target themis_base module_epic3_distributed_tensor_distributed_planner_test_focused module_epic3_distributed_tensor_tensor_shard_summary_focused --parallel 8 | |
| validation_command: >- | |
| ctest --test-dir build-clang-fast --output-on-failure -R "TensorShardSummaryPhaseCTests|DistributedPlannerContractTests" -j 1 --timeout 60 | |
| artifact_name: clang-fast-logs-${{ github.run_number }} | |
| artifact_paths: | | |
| build-clang-fast/Testing | |
| build-clang-fast/CMakeCache.txt | |
| artifact_retention_days: '7' | |
| summary_title: CI — Build Clang Fast |