Skip to content

Adopt uv, clang-format, a misch CI job, a C2000 build and pkg-config generation #8

Closed

Description

@aajll

CI installs Meson, Ninja and gcovr with pip and apt, has no formatting check, does not run the MISRA C:2023 analysis configured in misra.toml, and does not cross-compile for a 16-bit-MAU target. The build installs the library and headers but generates no pkg-config file, so an installed package cannot be consumed with pkg-config --cflags --libs ppack. The Meson files and the test sources have no SPDX header.

Scope

  • Install Python tools with astral-sh/setup-uv and uv tool install in every job.
  • Add scripts/format.sh, which pins the clang-format release and runs it through uvx, and a clang-format job.
  • Add a misch CI job with a current cppcheck that runs misch run (the analysis reports zero findings) and prints the deviation record.
  • Add a TI C2000 CGT job (22.6.2 and 25.11.1, COFF and EABI, warnings as errors), as in fxp.
  • Generate ppack.pc with subdirs: 'ppack', and add meson.override_dependency.
  • Add the SPDX header to the Meson files and the test sources, and update CHANGELOG.md.

Acceptance criteria

  • No pip, apt Python tools or setup-python in CI.
  • scripts/format.sh passes in CI.
  • misch run passes in CI with zero findings.
  • The library builds with warnings as errors under both CGT releases and both ABIs.
  • meson install produces ppack.pc, and a consumer compiles and links with pkg-config --cflags --libs ppack.
  • The coverage gate stays at 100% line and branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions