Commit 8053838
committed
git-artifacts: also build the UCRT64 flavor
Git for Windows is gaining a UCRT64 flavor, and I want the
`/git-artifacts` command (as well as the snapshot builds that cascade
from a `tag-git` run) to build those bits alongside the existing
x86_64, i686 and aarch64 ones.
The actual build logic lives in two other repositories: build-extra
learns to assemble installers, portable Gits and the like from a UCRT64
SDK (git-for-windows/build-extra#719), and the
git-artifacts pipeline gains `ucrt64` as a valid `architecture` choice
(git-for-windows/git-for-windows-automation#179).
This helper is what dispatches those pipeline runs, so once those two
pull requests are merged it needs to start asking for the fourth
architecture, too.
`triggerGitArtifactsRuns()` is the single place both entry points funnel
through: the `/git-artifacts` slash command when a `tag-git` run already
succeeded, and the automatic cascade when a `tag-git` check-run
completes. Adding `ucrt64` to its architecture list therefore covers
both without touching anything else.
I deliberately leave the `upload-snapshot` cascade and the `/release`
command at the three established architectures for now, so the UCRT64
bits are built but not yet published anywhere. A completing
`git-artifacts-ucrt64` check-run does still trigger the cascade handler,
because that handler matches on the `git-artifacts-` name prefix, but it
only ever looks up and forwards the three standard architectures' run
IDs. The extra completion is therefore harmless and, conveniently, a
failing UCRT64 build will not hold back the snapshot of the other three.
Assisted-by: Opus 4.8
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 39de100 commit 8053838
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
829 | 830 | | |
830 | 831 | | |
831 | 832 | | |
| 833 | + | |
832 | 834 | | |
833 | 835 | | |
834 | 836 | | |
| |||
899 | 901 | | |
900 | 902 | | |
901 | 903 | | |
| 904 | + | |
902 | 905 | | |
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
906 | 909 | | |
907 | 910 | | |
908 | | - | |
| 911 | + | |
909 | 912 | | |
910 | 913 | | |
911 | | - | |
| 914 | + | |
912 | 915 | | |
913 | 916 | | |
914 | 917 | | |
915 | 918 | | |
916 | | - | |
| 919 | + | |
917 | 920 | | |
918 | 921 | | |
919 | 922 | | |
920 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
921 | 929 | | |
922 | 930 | | |
923 | 931 | | |
| |||
0 commit comments