Skip to content

CI workflow cleanup#118

Merged
ngie-eign merged 1 commit intofreebsd:masterfrom
ngie-eign:clean-up-ci-workflows
Dec 30, 2025
Merged

CI workflow cleanup#118
ngie-eign merged 1 commit intofreebsd:masterfrom
ngie-eign:clean-up-ci-workflows

Conversation

@ngie-eign
Copy link
Contributor

ci-build.sh-related changes:

  • Split up ci-build.sh into separate "steps" so the logic can be shared between Cirrus CI and GHA. As of today there are just 2 steps:
    • configure
    • distcheck
  • Set variables that can be overridden in the environment to sane default values to support set -eu and to make the code self-documenting.
  • Apply set -u to catch undefined variables as part of the script runtime.
  • Remove i386 support: it's effectively a dead 32-bit platform now which is not tested on a regular basis.

In the future the style checks will be split off of make distcheck, i.e., once pre-commit integration is done.

GHA-specific changes:

  • Make the file yamllint clean.
  • Skip the job summarization step.
    • The high-level summary provided by GHA each job is sufficient.
  • Archive the test artifacts on completion so the GHA steps can be debugged.
  • Set the environment with env instead of via a separate step with an undocumented interface, as env is the documented interface for setting environment.

@ngie-eign ngie-eign force-pushed the clean-up-ci-workflows branch 11 times, most recently from f9d784e to 3866c22 Compare December 30, 2025 03:20
ci-build.sh-related changes:
- Split up ci-build.sh into separate "steps" so the logic can be shared
  between Cirrus CI and GHA. As of today there are just 2 steps:
    - configure
    - distcheck
- Set variables that can be overridden in the environment to sane
  default values to support `set -eu` and to make the code
  self-documenting.
- Apply `set -u` to catch undefined variables as part of the script
  runtime.
- Remove i386 support: it's effectively a dead 32-bit platform now which
  is not tested on a regular basis.

In the future the style checks will be split off of `make distcheck`,
i.e., once pre-commit integration is done.

GHA-specific changes:

- Make the file yamllint clean.
- Skip the job summarization step.
    - The high-level summary provided by GHA each job is sufficient.
- Archive the test artifacts on completion so the GHA steps can be
  debugged.
- Set the environment with `env` instead of via a separate
  step with an undocumented interface, as `env` is the documented
  interface for setting environment.

Signed-off-by: Enji Cooper <ngie@FreeBSD.org>
@ngie-eign ngie-eign force-pushed the clean-up-ci-workflows branch from 3866c22 to cf0b307 Compare December 30, 2025 04:25
@ngie-eign ngie-eign merged commit 5589af0 into freebsd:master Dec 30, 2025
0 of 2 checks passed
@ngie-eign ngie-eign deleted the clean-up-ci-workflows branch December 30, 2025 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant