Skip to content

Workflow

Jonah Miller edited this page Sep 30, 2021 · 2 revisions

This page describes the workflow used for singularity-eos and related packages as far as continuous integration, etc. One motivation for this more complicated workflow is a desire to do CI on GPU machines using LANL sources. Another is to ensure things like formatting are retained.

CI

  • We will have a mirror on re-git, which mirrors only protected branches. This will only be the main branch.
  • Only LANL-employees have merge power for branches on github.
  • The mirror enables us to perform tests on main on GPUs and other hardware.
  • By default, CI will be triggered on merge into main but not merge requests.
  • If a LANL employee desires, they can push a branch to the internal repository to trigger CI, even if this branch was contributed externally.

Formatting

  • We will add a make format target in cmake that calls clang-format, pinned to some version
  • On github, a github action to check formatting will be used to forbid merge unless the code is properly formatted.
Clone this wiki locally