Commit graph

4 commits

Author SHA1 Message Date
1d76f4f3e9
workflows/reusable.yaml: Remove distro from step name

The section header "Run packaging test on ${{ matrix.distro.name }}" doesn't get the distro name expanded in the run log's section header for whatever reason. It only adds redundant and, hence, slightly confusing information, so remove it.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-03 07:14:29 +02:00
964a71a86e
workflows/reusable.yaml: Add more names

Add

jobs.test.name: Packaging test - ${{ matrix.distro.name }} jobs.test.steps.name: Run packaging test on ${{ matrix.distro.name }} jobs.test.steps.uses.with.distro-name: ${{ matrix.distro.name }}

In the hope that this makes the logs look nicer.

Quoting from https://forgejo.org/docs/latest/user/actions/reference/

NOTE: if jobs.<job_id>.name is set, care must be taken that it evaluates to a unique name for each job created from the matrix, e.g. name-${{ matrix.variant }}-${{ matrix.node}} in the above example.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-03 06:08:11 +02:00
74f5f55aac
action.yml: Run make pkg-manager-refresh

Before building jw-pkg from source, make pkg-install-release-deps is called without refreshing the package manager before. Fix that by calling make -C jw-pkg pkg-manager-refresh.

Note that it's called again later. Leaving that in because the second step doesn't hurt, and the first steppe might get scrapped entirely at some point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-25 14:10:32 +02:00
815e7c3df1 Add action.yml and reusable.yaml.

This action allows to test packaging of projects compatible with the jw-pkg layout.

It attempts the following steps:

- Clones, builds and installs jw-pkg from source

- Clones the package under test from Git

- Installs its build prerequisites

- Builds, packages and installs it

Additionally, a reusable workflow .github/workflows/reusable.yaml is added to invoke it for all supported distributions, which currently are Kali Linux and OpenSUSE.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-10 11:48:37 +02:00