astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

Refactor CI to remove duplication #350

Closed tkoskela closed 1 month ago

tkoskela commented 1 month ago

Inspired by our struggles with code duplication in the CI yesterday, I had a go at refactoring the workflows. I've created three jobs in the CI workflow.

I also cleaned up the matrix a little and re-enabled an OpenMP test on MacOS (it's soo fast :rocket:). I'm still unhappy about how the job matrix is duplicated across jobs, and how the apt/brew installs have to be redone. I tried to trim them down to the necessary packages. If you spot any unnecessary ones please remove them :smile:

Also updated to Ubuntu-22.04 and gcc-12.