Create reusable process for building binaries for GitLab mise plugins

Proposal

As software in .tool-versions continues to update (specifically postgres, redis and ruby), it's important that we have a repeatable and reliable method for generate pre-built binary packages. Ideally this should be automatic and be executed under CI. It will need to cover:

  • macOS (Darwin) (x86_64, arm64) packages for 12.* (Monterey), 11.* (Big Sur) and 10.15 (Catalina)
  • Linux (Ubuntu) (x86_64, arm64) packages for 21.10 (Impish), 20.04 (Focal), 18.04 (Bionic)
  • Linux (Debian) (x86_64, arm64) packages for 11 (Bullseye), 10 (Buster), 9 (Stretch)

Depending on versions of dependent software (e.g. libreadline), we may be able to re-use some packages for multiple platform versions.

Related: #1390

Edited by Ash McKenzie