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

moved apt get to optional ci parts #2970

Conversation

shimwell
Copy link
Member

@shimwell shimwell commented Apr 21, 2024

Description

This helps make the tools/ci scripts more operating system agonistic by moving the only ubuntu specific command (apt-get) from the gha-install-vectfit.sh script. In the future we may want to run this sh script on mac os or another linux os which doesn't have access to apt get so it would be useful to remove this park of the sh script. Now the apt-get command is in the CI where all the other apt-get commands are located

While adding the conditional section to the CI runner I noticed that we do apt-get install of many packages for all of the matrix combinations. I split out the mpi related one as and set them to run only if mpi is requested on the matrix. This should save a small amount of CI time for these runs.

Fixes # (issue)
not an issue but working towards getting the ci running on mac

Checklist

  • I have performed a self-review of my own code

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@paulromano paulromano left a comment

Choose a reason for hiding this comment

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

Thanks @shimwell!

@paulromano paulromano enabled auto-merge (squash) April 24, 2024 19:32
@paulromano paulromano merged commit 95b15f9 into openmc-dev:develop Apr 25, 2024
17 checks passed
church89 pushed a commit to openmsr/openmc that referenced this pull request Jul 18, 2024
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