Skip to content

Wire up Windows-based jobs in GitLab CI

Patrick Steinhardt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5t7300: work around platform-specific behaviour with long paths on MinGWt/t7300-clean.sh+1 -12 replies
2/5ci: create script to set up Git for Windows SDK.github/workflows/main.yml ci/install-sdk.ps1+22 -60 replies
3/5ci: handle Windows-based CI jobs in GitLab CIci/lib.sh+13 -50 replies
4/5gitlab-ci: introduce stages and dependencies.gitlab-ci.yml+18 -00 replies
5/5gitlab-ci: exercise Git on Windows.gitlab-ci.yml+33 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJohannes Schindelin
1/5
2/5Helped-by
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Wire up Windows-based jobs in GitLab CI

Hi,

there's been multiple cases where changes I did recently broke Windows systems. This was in the context of reftables, the libification refactorings and other parts. Also, with my investigation of a more modern build system I spent a ton of time in Windows overall. So it was high time that I finally wire up support for Windows jobs in GitLab CI, which is something I wanted to do for a long time.

This patch series does this with the help of Johannes. He helped me out quite significantly by starting to publish new build artifacts as part of the Git for Windows SDK pipelines that we can now easily download and use. This makes it trivial to reimplement the "setup-git-for-windows" GitHub Action as a simple PowerShell script such that both GitHub and GitLab share the same implementation.

I've created a pull request in GitHub [1] and a merge request in GitLab
[2] to demonstrate that the pipelines work on both platforms.

Thanks!

Patrick

[1]: https://github.com/git/git/pull/1806
[2]: https://gitlab.com/gitlab-org/git/-/merge_requests/204

Patrick Steinhardt (5):
t7300: work around platform-specific behaviour with long paths on
MinGW
ci: create script to set up Git for Windows SDK
ci: handle Windows-based CI jobs in GitLab CI
gitlab-ci: introduce stages and dependencies
gitlab-ci: exercise Git on Windows

 .github/workflows/main.yml | 16 +++++++-----
 .gitlab-ci.yml             | 51 ++++++++++++++++++++++++++++++++++++++
 ci/install-sdk.ps1         | 12 +++++++++
 ci/lib.sh                  | 18 ++++++++++----
 t/t7300-clean.sh           |  2 +-
 5 files changed, 87 insertions(+), 12 deletions(-)
 create mode 100755 ci/install-sdk.ps1
Signature · 1 line
2.47.0.rc1.33.g90fe3800b9.dirty