24 bool GITHUB_ACTIONS = bool(
getenv_str(
"GITHUB_ACTIONS"));
27 bool GITLAB_CI = bool(
getenv_str(
"GITLAB_CI"));
namespace for cli utilities
bool is_ci_travis()
Check if the environment variable TRAVIS is set.
std::optional< std::string > getenv_str(const char *env_var)
Get the content of the environment variable if it exist.
bool is_ci_github_actions()
Check if the environment variable GITHUB_ACTIONS is set.
bool is_ci_gitlab_ci()
Check if the environment variable GITLAB_CI is set.
bool is_ci_circle_ci()
Check if the environment variable CIRCLECI is set.