[PATCH v2 0/7] ci: speed-up the Windows parts of our GitHub workflow
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jul 3, 2021, 21:26 UTC
- Message-ID
- <pull.878.v2.git.1625347592.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.878.git.1624461857.gitgitgadget@gmail.com>
This patch series upgrades to newer versions of a couple GitHub Actions we use, and also streamlines the Windows jobs using the relatively new setup-git-for-windows-sdk Action [https://github.com/marketplace/actions/setup-git-for-windows-sdk] (Git for Windows is running with this Action for a while now, getting all the kinks out).
This patch series should also address the problem where seen was pushed so rapidly that the windows-test jobs failed because they no longer checked out the identical revision as the windows-build job.
Changes since v1:
* Added a patch to fix make NO_GETTEXT=Yep artifacts-tar (not to include .mo files), as suggested by Matthias Aßauer in the GitGitGadget PR, which should fix the CI failure in seen that Junio pointed out. The bug was unhidden by mr/cmake fixing the CMake build (which ignored NO_GETTEXT before).
Dennis Ameling (1): ci(vs-build): build with NO_GETTEXT
Johannes Schindelin (6):
ci: use the new GitHub Action to download git-sdk-64-minimal
ci (vs-build): use `cmd` to copy the DLLs, not `powershell`
ci: upgrade to using actions/{up,down}load-artifacts v2
ci(windows): transfer also the Git-tracked files to the test jobs
artifacts-tar: respect NO_GETTEXT
ci: accelerate the checkout.github/workflows/main.yml | 157 +++++++++++-------------------------- Makefile | 5 +- 2 files changed, 50 insertions(+), 112 deletions(-)
base-commit: ebf3c04b262aa27fbb97f8a0156c2347fecafafb Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-878%2Fdscho%2Fuse-setup-git-for-windows-sdk-action-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-878/dscho/use-setup-git-for-windows-sdk-action-v2 Pull-Request: https://github.com/gitgitgadget/git/pull/878
Range-diff vs v1:
1: 8da66c425a1 = 1: 2e4db688deb ci: use the new GitHub Action to download git-sdk-64-minimal
2: a913af64f9d = 2: 6b12fe2284c ci (vs-build): use `cmd` to copy the DLLs, not `powershell`
3: 7930465e809 = 3: c256bbf4b1c ci: upgrade to using actions/{up,down}load-artifacts v2
4: 1520a9ffb57 = 4: 59dc44428fb ci(windows): transfer also the Git-tracked files to the test jobs
-: ----------- > 5: c31d2e7f44a artifacts-tar: respect NO_GETTEXT
5: a5084795ab0 = 6: 8bab4c17b8a ci(vs-build): build with NO_GETTEXT
6: e772d8f1d9b = 7: 88a44863cd0 ci: accelerate the checkout-- gitgitgadget