These tests currently appear with 'testjob' as name in Forgejo, which
is not very informative.
This patch renames 'testjob' to 'format-checks' which is hopefully
clearer, and renames the sanity-checks.yaml file to
format-checks.yaml.
ChangeLog:
* .forgejo/workflows/sanity-checks.yaml: Rename testjob to
format-checks. Rename file to ...
* .forgejo/workflows/format-checks.yaml: ... this.
Build autoconf and automake and add autoregen.py from
https://sourceware.org/git/builder.git
Add forge action to build container images.
ChangeLog:
* .forgejo/workflows/build-containers.yaml: New file.
contrib/ChangeLog:
* ci-containers/README: New file.
* ci-containers/autoregen/Containerfile: New file.
* ci-containers/autoregen/autoregen.py: New file.
* ci-containers/build-image.sh: New file.
Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
Add a sample workflow for Forgejo, as an example of integrated CI.
To keep it lightweight, we run only two small checks on each patch of
the series:
- contrib/check_GNU_style.py
which catches common mistakes (spaces vs tab, missing spaces, ...)
but has some false positive warnings.
- contrib/gcc-changelog/git_check_commit.py
which checks the commit message and ChangeLog entry
In order to run both checks even if the other fails, we use two steps
with 'continue-on-error: true', and we need a 'final-result'
consolidation step to generate the global status.
ChangeLog:
* .forgejo/workflows/sanity-checks.yaml: New file.