git/ci
Patrick Steinhardt b7a08e947e 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>
2024-10-09 11:33:04 -07:00
..
config ci: deprecate ci/config/allow-ref script 2023-08-30 15:56:11 -07:00
util travis-ci: include the trash directories of failed tests in the trace log 2018-08-01 09:59:36 -07:00
check-directional-formatting.bash ci: unify bash calling convention 2024-07-08 16:23:05 -07:00
check-whitespace.sh check-whitespace: detect if no base_commit is provided 2024-07-23 09:56:50 -07:00
install-dependencies.sh Merge branch 'jk/ci-linux32-update' 2024-09-16 15:27:08 -07:00
install-sdk.ps1 ci: create script to set up Git for Windows SDK 2024-10-09 11:33:04 -07:00
lib.sh ci: handle Windows-based CI jobs in GitLab CI 2024-10-09 11:33:04 -07:00
make-test-artifacts.sh ci(github): use grouping also in the `win-build` job 2022-06-13 09:58:41 -07:00
mount-fileshare.sh Add a build definition for Azure DevOps 2019-01-29 09:26:46 -08:00
print-test-failures.sh ci: handle TEST_OUTPUT_DIRECTORY when printing test failures 2024-01-18 11:53:17 -08:00
run-build-and-minimal-fuzzers.sh Merge branch 'jc/fuzz-sans-curl' 2024-07-02 09:59:01 -07:00
run-build-and-tests.sh midx: implement support for writing incremental MIDX chains 2024-08-06 12:01:39 -07:00
run-static-analysis.sh i18n CI: stop allowing non-ASCII source messages in po/git.pot 2022-05-26 10:30:28 -07:00
run-style-check.sh ci/style-check: add `RemoveBracesLLVM` in CI job 2024-07-23 09:56:50 -07:00
run-test-slice.sh ci: use test-tool as unit test runner on Windows 2024-05-06 14:06:35 -07:00
test-documentation.sh ci/test-documentation: work around SyntaxWarning in Python 3.12 2024-06-06 08:20:51 -07:00