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>
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>