clickhouse-cpp
clickhouse-cpp copied to clipboard
rpm packaging
CPack https://developpaper.com/cpack-getting-started-guide/
Expected result: a PR into clickhouse-cpp that would contain a new (or modified) GitHub workflow file that is:
- triggered on release (can be tested in your fork)
- builds clickhouse-cpp on some conservative CentOS version (preferably 7)
- generates rpm packages from built binaries + headers
- uploads binaries to the GitHub
Project is already using CPack, so generating rpms should be preferably done with it (package build target).
Notes for inspiration:
- https://github.com/ClickHouse/clickhouse-odbc/blob/master/.github/workflows/Docker.yml - (overcomplicated) example of building on CentOS 7
- https://github.com/ClickHouse/clickhouse-odbc/blob/master/.github/workflows/Linux.yml#L133 - example of uploading binaries