diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-10-09 15:25:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-10-09 11:33:04 -0700 |
commit | b7a08e947eb42de6f272d60b68a2e30790e7c0d5 (patch) | |
tree | 61c2cbd17c62b4633ce9970c76f871d6e915ca8b /git-gui/lib/commit.tcl | |
parent | 91839a882779012a2bc18c1bfd1d8d11fe1099aa (diff) |
ci: handle Windows-based CI jobs in GitLab CI
We try to abstract away any differences between different CI platforms
in "ci/lib.sh", such that knowledge specific to e.g. GitHub Actions or
GitLab CI is neatly encapsulated in a single place. Next to some generic
variables, we also set up some variables that are specific to the actual
platform that the CI operates on, e.g. Linux or macOS.
We do not yet support Windows runners on GitLab CI. Unfortunately, those
systems do not use the same "CI_JOB_IMAGE" environment variable as both
Linux and macOS do. Instead, we can use the "OS" variable, which should
have a value of "Windows_NT" on Windows platforms.
Handle the combination of "$OS,$CI_JOB_IMAGE" and introduce support for
Windows.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions