stable-diffusion.cpp/.github/workflows
Claude ac974c0b8e
ci: add a combined Windows CUDA + Vulkan package to the release
The CUDA and Vulkan zips of a release hold the same file names built
differently: stable-diffusion.dll has the CUDA code only in the CUDA zip, so
unpacking one zip over the other leaves a mixture of two builds. A new step of
the release job assembles a third package from the zips of the same run: the
CUDA zip, the CUDA runtime zip and ggml-vulkan.dll from the Vulkan zip, in one
folder with a LEGGIMI.txt. The backends are separate modules loaded side by
side, so nothing else of the Vulkan zip is needed.

scripts/package_windows_cuda_vulkan.sh stops, and the release with it, when a
zip is missing or there are two of a kind, when the CUDA and Vulkan zips come
from different commits, when two zips hold a file with the same name, when a
required file is missing from the package, or when the file count of the
result does not match the inputs. It warns when ggml-base.dll or ggml.dll have
a different size in the two zips, which means two different ggml builds.

The release notes list the new file first and tell people not to unpack the
Vulkan zip over the CUDA one.

Run on the three zips of master-1025-2ab1ed6: 26 files, 878 MiB, every file
has the size and CRC-32 of its source file. The step itself runs only in the
release job (push to master or a manual run with create_release), so a pull
request does not exercise it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-15 20:21:31 +02:00
..
build.yml ci: add a combined Windows CUDA + Vulkan package to the release 2026-10-15 20:21:31 +02:00
close-inactive-issues.yml chore: close inactive issues as completed 2026-07-08 22:14:50 +08:00
close-organization-fork-prs.yml ci: automatically close PRs from organization-owned forks 2026-09-24 00:40:42 +08:00
release-portable.yml fix: load the CUDA driver at run time so the library starts without it 2026-10-11 12:51:59 +02:00
stale-prs.yml ci: add inactive pr clean up workflow 2026-05-18 00:09:45 +08:00