Refactor the CI workflows#102
Open
lavrovvalera wants to merge 10 commits into
Open
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
MODULE.bazel.lock is gitignored; --lockfile_mode=error always fails on a fresh checkout. Remove the flag to match how all other CI workflows run. Also apply buildifier formatting to MODULE.bazel (3 missing blank lines).
- Add score_bazel_tools_cc 0.1.0 (dev_dependency) to MODULE.bazel - Add python.single_version_override for 3.8.20 (required by score_bazel_tools_cc which registers Python 3.8 toolchains; rules_python 1.8.x removed 3.8 from default download list) - Add clang_format_config BUILD target pointing to //:.clang-format - Add build:clang_format config block to .bazelrc (uses LLVM toolchain so the clang-format binary is co-located with the C++ compiler) - Add clang-format job to format.yml; non-blocking (continue-on-error) until existing violations in the codebase are resolved
9935be5 to
fe220d9
Compare
3 tasks
fe220d9 to
4bba2a5
Compare
4bba2a5 to
0e8286d
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrate
score_cpp_policiesas central C++ quality toolingCloses #12
Closes #42
Closes #43
Changes
score_cpp_policiesintegrationscore_cpp_policiesdep withgit_overrideto pick up theclang_tidypackage not yet released in the registry (v0.0.1)aspect_rules_lint1.5.3→2.7.1and addedtoolchains_llvm 1.7.0(LLVM 19.1.7) as required byscore_cpp_policiesclang-tidy APItools/lint/BUILD+tools/lint/linters.bzlwiringmake_clang_tidy_aspectwith the S-CORE baseline.clang-tidyasan_ubsan_lsan) and clang-tidy config blocks to.bazelrcNew CI workflows
sanitizers.yml— runs ASan/UBSan/LSan on PRs andmain; non-blocking until code is clean (closes Add sanitizer CI (ASAN/TSAN/UBSAN) #43)clang-tidy.yml— runs clang-tidy viascore_cpp_policieson PRs andmain; non-blocking until violations are resolved (closes Add Clang-Tidy CI workflow #42)codeql.yml— nightly CodeQL scan with MISRA C++ pack via the cicd-workflows reusable workflowCI workflow cleanup
underscore_styletohyphen-stylename: Group / Jobconvention to all workflows for visual grouping in GitHub Actions UI