Skip to content

CI: Teach our Azure Pipeline to run sparse #345

Closed
@dscho

Description

@dscho

One of the earliest open source static analyzers is sparse, and occasionally Ramsay Jones sends out mails on the Git mailing list that some function or other should be declared static because sparse found out that it is only used within the same file.

Let's add a job to our Azure Pipeline to also run sparse. There is now a build offering an Ubuntu package of sparse as build artifact: https://dev.azure.com/git/git/_build?definitionId=10&_a=summary (which can be consumed in the same way the git-sdk-64-minimal build artifact is consumed, via a PowerShell step).

See the thread around https://public-inbox.org/git/[email protected]/ for more details.

Official documentation how to use sparse: https://kernelnewbies.org/Sparse

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions