Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a basic workflow that
The workflow is described in
.github/workflows/build.yml
. See Understanding GitHub actions for an intro to writing workflows. Nothing special about this one, but this lays the groundwork for future infrastructure like unit tests. The workflow is triggered each time commits are pushed to a remote branch, running on Ubuntu 20.04.AFAIK the only dependency for running the default benchamrk is OpenMPI. Installing it from the Ubuntu repos (
apt install libopenmpi-dev
or something similar) would simplify the workflow, but I figured we would prefer having control on the OpenMPI version we test against, as well as its compilation. However, we don't want to build OpenMPI each time, so the installed libraries and headers are cached. This is standard GitHub actions practice, see Caching dependencies to speed up workflows.Limitations, potential improvements or further work