diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 13:06:32 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 13:06:32 +0200 |
commit | 8bed8a0e1dbaa5df29a386f13768c5df84c2cceb (patch) | |
tree | ac0663d41a471e7d3e325b1b4fa7eef01bcc51f7 /src/ci.c | |
parent | doc: fix a typo (diff) | |
download | cimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.tar.gz cimple-8bed8a0e1dbaa5df29a386f13768c5df84c2cceb.zip |
ci: set some environment variables
Diffstat (limited to 'src/ci.c')
-rw-r--r-- | src/ci.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |