aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ci.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-09-07 13:06:32 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-09-07 13:06:32 +0200
commit8bed8a0e1dbaa5df29a386f13768c5df84c2cceb (patch)
treeac0663d41a471e7d3e325b1b4fa7eef01bcc51f7 /src/ci.c
parentdoc: fix a typo (diff)
downloadcimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.tar.gz
cimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.zip
ci: set some environment variables
Diffstat (limited to 'src/ci.c')
-rw-r--r--src/ci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ci.c b/src/ci.c
index ffc298a..5f3dad4 100644
--- a/src/ci.c
+++ b/src/ci.c
@@ -16,12 +16,17 @@ static const char *ci_scripts[] = {
"./ci",
NULL,
};
+
+static const char *ci_env[] = {
+ "CI=y",
+ "CIMPLE=y",
+};
/* clang-format on */
static int ci_run_script(const char *script, struct proc_output *result)
{
const char *args[] = {script, NULL};
- return proc_capture(args, result);
+ return proc_capture(args, ci_env, result);
}
int ci_run(struct proc_output *result)