Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
ci_env.hpp
Go to the documentation of this file.
1// -------------------------------------------------------//
2//
3// SHAMROCK code for hydrodynamics
4// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7//
8// -------------------------------------------------------//
9
10#pragma once
11
19namespace shamcmdopt {
20
29
37 bool is_ci_travis();
38
46 bool is_ci_circle_ci();
47
55 bool is_ci_gitlab_ci();
56
57} // namespace shamcmdopt
namespace for cli utilities
Definition ci_env.hpp:19
bool is_ci_travis()
Check if the environment variable TRAVIS is set.
Definition ci_env.cpp:49
bool is_ci_github_actions()
Check if the environment variable GITHUB_ACTIONS is set.
Definition ci_env.cpp:40
bool is_ci_gitlab_ci()
Check if the environment variable GITLAB_CI is set.
Definition ci_env.cpp:67
bool is_ci_circle_ci()
Check if the environment variable CIRCLECI is set.
Definition ci_env.cpp:58