Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CI to remove duplication #350

Merged
merged 21 commits into from
Sep 13, 2024
Merged

Refactor CI to remove duplication #350

merged 21 commits into from
Sep 13, 2024

Conversation

tkoskela
Copy link
Contributor

@tkoskela tkoskela commented Sep 13, 2024

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.

  • The build job builds the dependencies (Catch, FFTW, SOPT).
  • The doc job builds and deploys the documentation
  • Test test job builds and runs the tests

I also cleaned up the matrix a little and re-enabled an OpenMP test on MacOS (it's soo fast 🚀). 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 😄

Also updated to Ubuntu-22.04 and gcc-12.

Copy link
Collaborator

@20DM 20DM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice - much better! 🚀

@20DM 20DM merged commit 90c0369 into development Sep 13, 2024
14 checks passed
@tkoskela tkoskela deleted the tk/refactor-ci branch September 18, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants