clickhouse-cpp icon indicating copy to clipboard operation
clickhouse-cpp copied to clipboard

rpm packaging

Open filimonov opened this issue 4 years ago • 1 comments

CPack https://developpaper.com/cpack-getting-started-guide/

filimonov avatar Dec 10 '21 11:12 filimonov

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

Enmk avatar Sep 26 '22 15:09 Enmk