Skip to content

Zig build: add status badges #433

Closed

Description

@inge4pres

We should include the Zig build into the D script that populates the build statuses in the README.


Originally posted by @Mizux in #431 (comment)

generated_badges.d stuff is for a following PR (I'll be on it, i guess?) just following the naming convention should make it straightforward.

Concerning the "badge" icon, we are using https://img.shields.io to generated them but since this one "doesn't know" the zig (and bazel) logo we will need to inject it as a base64 svg string
see bazel logo: https://github.com/zig-o11y/cpu_features/blob/d79830b223cb5fd3d5f49e0c09d34d9f1e714157/scripts/generate_badges.d#L18
so I was suggesting we could do the same for zig logo (using the official zig logo svg source code) once this PR is submitted...

for the enum, adding "Zig" to this enum D script, running the script should look for any __zig.yml then, if found any, add it to its internal list then auto generated build status markdown table that we just have to copy/paste in the readme to get the zig build status as first party builder

Activity

  1. added
    enhancement
    on Oct 13, 2025
  2. Mizux commented on Oct 13, 2025

    @Mizux
    Collaborator
  3. inge4pres commented on Oct 14, 2025

    @inge4pres
    ContributorAuthor

    Going to work on this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementzig

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions