Build Debian and Ubuntu deb packages on release
It would be great if when tagging a new releases new deb packages were build.
We've just added this for openstreetmap-cgimap. https://github.com/zerebubuth/openstreetmap-cgimap/pull/449 and https://github.com/zerebubuth/openstreetmap-cgimap/blob/master/.github/workflows/build.yml Also in PR for osmdbt.
I am happy to create a PR if desired?
Hello @Firefishy, I think that's a great idea. Packaging already occurs on every commit for CMake builds, these are basic, but can be used for testing.
E.g.: https://github.com/openstreetmap/mod_tile/blob/f645ed0a1e039082f839e96742e1d0d3c6b7f02a/.github/workflows/build-and-test.yml#L91-L93
More robust packaging can also be achieved using CPack, but that wasn't the goal I had of creating packages for testing purposes. Let me know if you have any suggestions. Thanks!
Here's an example of packages built here from the latest commit:
mod_tile-5aadf31ccc2f2f7ed820fdb665ff023629c4f733-debian_11-CMake-GNU mod_tile-5aadf31ccc2f2f7ed820fdb665ff023629c4f733-debian_12-CMake-GNU
mod_tile-5aadf31ccc2f2f7ed820fdb665ff023629c4f733-ubuntu_22_04-CMake-GNU mod_tile-5aadf31ccc2f2f7ed820fdb665ff023629c4f733-ubuntu_24_04-CMake-GNU
mod_tile-5aadf31ccc2f2f7ed820fdb665ff023629c4f733-quay_io_centos_centos_stream9-CMake-GNU