aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-gh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci-github-gh.cxx')
-rw-r--r--mod/mod-ci-github-gh.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/mod-ci-github-gh.cxx b/mod/mod-ci-github-gh.cxx
index 28f21f7..5664a7a 100644
--- a/mod/mod-ci-github-gh.cxx
+++ b/mod/mod-ci-github-gh.cxx
@@ -14,11 +14,13 @@ namespace brep
string
gh_to_status (build_state st)
{
- // @@ Just return by value (small string optimization).
+ // Just return by value (small string optimization).
//
- // @@ TMP Keep this comment, right?
- //
- return gh_status[static_cast<size_t> (st)];
+ switch (st)
+ {
+ case build_state::queued: return "QUEUED";
+ // @@ TODO: complete.
+ }
}
// Return the build_state corresponding to a GitHub check run status