Skip to content

Add the ZoneX CI workflows #4

Description

@fdesbiens

ZoneX has no .github/workflows/. Nothing gates a pull request today.

Blocked by #3, which provides the scripts the regression workflow calls.

Scope

Mirror the workflow set the other repositories run, adapted to ZoneX:

  • Compiler checks on the reference toolchains — GCC (Arm GNU Toolchain 14.3.rel1) and LLVM (ATfE 22.1.0), as gcc_check.yml and clang_check.yml do. Fetch each toolchain from its published release, verify the checksum, and cache it, rather than depending on a third-party setup action.
  • Regression suite with coverage, as a reusable workflow_call template plus a caller, following regression_template.yml / regression_test.yml. Coverage thresholds per the decision in Decide the host target for the ZoneX regression suite #2.
  • Port checks, once ZoneX has more than one port.

Requirements

  • Triggers are pull_request against dev and main, and push to dev and main. Getting this wrong is not hypothetical: ci_cortex_m.yml in ThreadX ran on master only while dev was the integration branch, so it gated no pull request anybody opened, and the ports drifted unnoticed for eight months.
  • Third-party actions are pinned to a commit SHA, not a tag.
  • Toolchain versions are pinned explicitly, so a bump is a reviewable commit.
  • Dependabot is configured for the actions.

Definition of done

The workflows run green on a pull request, and the "Continuous integration" section of CONTRIBUTING.md is rewritten to replace the current placeholder — naming each check and when it runs.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions