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

provide option to skip initializing and add general build flags to sub-module build #769

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

hellkite500
Copy link
Contributor

@hellkite500 hellkite500 commented Mar 19, 2024

Provide some flexibility in the submodule build action, so a caller can avoid initializing the module in case they want to replace the submodule code with custom code before the compile steps.

Also take a generic build flag input allowing custom cmake flags such as macro defines to be passed to to the cmake configure step.

This would replace #768, which would address noaa-owp/noaa-owp-modular#104 by allowing custom workflows to change to replace the code being built by the action.

Should also strongly consider adding a workdir input to allow a cd ${{ inputs.workdir }} before the configure/build steps. This would allow some customization with the actions/checkout which allows checking out different repositories to new directories, but the build action would need to know which path to initiate the build steps under.

Copy link
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks, @hellkite500!

Copy link
Contributor

@madMatchstick madMatchstick left a comment

Choose a reason for hiding this comment

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

@hellkite500 - Thanks for spearheading this.

For reference, this will require changes to NOM (thanks for the template/pr#105), topmodel & pet workflows.

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.

5 participants