Repository navigation
chore: adopt uv, clang-format, misch, a C2000 build and pkg-config - #9
Merged
Merged
Conversation
CI installs its Python tools with uv and gains a pinned clang-format check, a misch job that fails on any MISRA C:2023 finding and prints the deviation record, and a TI C2000 build under two CGT releases and both ABIs. The build generates ppack.pc and registers an override dependency, and the Meson files and tests carry SPDX headers. Refs #8
6 tasks
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.
Refs #8
Summary
astral-sh/setup-uvanduv tool install;setup-python,aptNinja andpipare gone.scripts/format.shpins clang-format 23.1.1 throughuvx, and aclang-formatjob runs it. The sources already match, so no file is reformatted.MISRA (misch)job installs a current cppcheck from Homebrew, runsmisch run(zero findings, so no baseline is needed) and printsmisch deviations.meson.buildgeneratesppack.pc(subdirs: 'ppack') and callsmeson.override_dependency('ppack', ppack_dep).meson.build,meson_options.txt,tests/meson.build, the compatibility subproject and all 25 test sources.Evidence
env -u MISRA_RULE_TEXTS misch run: no findings;misch deviations: all justified and valid (cppcheck 2.21.1 locally)./opt/tiCGT 22.6.2 and 25.11.1, COFF and EABI,-Dwerror=true: all four linklibppack.a.ppack.pcreportsCflags: -I${includedir}/ppackandLibs: -lppack, and a consumer includingppack.handppack_version.hcompiles and links withpkg-config --cflags --libs ppack. The library uses only theisnanmacro from<math.h>, so no-lmis needed.scripts/format.sh: 28 files match.Deferred
The docs layout (README landing page,
docs/integration.md,docs/api.md,docs/design.md,CONTRIBUTING.mdandAGENTS.md) follows in a separate PR.