gitlab-ci: test re-buildability of distribution tarballs
Summary
Adds tests for making a distribution tarball, and then attempting to build NM from its contents.
It builds tarballs with autotools and tests it on autotools itself, and then meson; and also a meson tarball which it attempts to re-build with autotools.
Purpose
Files have been left out from the distribution in the past by accident (e.g. 75027879, b2931c96) and hopefully this test will catch this type of errors.
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable