Description
Does the feature exist in the most recent commit?
No
Why do we need this feature?
This feature would make it easier for anyone to download the latest Debian/RPM package from GitHub rather than have to compile it.
Also, the current versions of GoogleTest, while functional are old (v1.11.0 is from June 2021)
This would also make it easy for consistently having Debian/Ubuntu repositories updated if a package is generated each release.
Describe the proposal.
I think the easiest solution would be to create a CPackConfig.txt to leverage your CMakeLists.txt file. Once this is done, create a GitHub workflow such that on every release, you create the packages and upload it for release. A workflow like the one listed below should do the trick, except you would be using CMake and cpack -G DEB
, etc. for each package.
https://github.com/capstone-engine/capstone/blob/next/.github/workflows/build_release.yml
I have a working example on how to create Debian and RPM packages already using CPackConfig.txt here
Is the feature specific to an operating system, compiler, or build system version?
For now, start with Linux, but it would be nice to attempt other Operating Systems too.