Skip to content

WIP: Add RPM packaging

Dave Moxey requested to merge dmoxey/nektar:feature/rpm-package into master

This MR adds automatic packaging, testing and deployment for some rpm-based distributions: initially Fedora 30 & 31 (which are currently the only supported versions) and CentOS 7. There are a few minor changes to our CMake configuration that are required to make this work, but otherwise the code builds and runs as in master.

Packages are built whenever the commit message contains the phrase [build packages]. Build numbers are automatically incremented for the same version of code whenever a previous version exists (e.g. if 5.0.0-2 exists the next build will be 5.0.0-3). This allows for e.g. packaging issues to be resolved.

Todo (now)

  • Adjust the execution rules, which should be set to release/x.y branches only, and remove the tmptag that I was using to speed up package builds by using cfd4.
  • Create a shared docker runner with a volume bound to a subdirectory of www.nektar.info, probably via a network share to run on waterloo.
  • Change URLs for the repos and add repo configurations.

Todo (future)

  • OpenSUSE uses rather a different strategy to handle the various MPI flavours/combinations, which will require a different format for the spec file.
  • Unhelpfully, CentOS 8 contains a dramatically reduced set of packages that we use for our dependencies, which means that e.g. ptscotch, OCE, etc are all not available. We'll need a strategy to deal with that, probably just using our third-party builds.

Merge request reports