koboldcpp/.github/workflows
Georgi Gerganov 805984d676
ci : reduce builds in build-xcframework.sh (#27252)
* ci : parallelize platform builds in build-xcframework.sh

The ios-xcode release job builds 7 platform/simulator configurations
sequentially, each with -j $(nproc). Run them with at most 3 concurrent
builds (the release runner has 3 cores), splitting the cores between the
builds (-j 1 each on the runner), so total CPU pressure is unchanged while
the build phase runs about 2.3x faster.

- convert the 7 build blocks into functions (flags unchanged)
- add a run_builds_parallel pool: 3-slot sliding window, per-build logs,
  dumps the failing log and aborts on error (background job failures do
  not trigger set -e)
- queue the 2-arch builds first so the slower builds occupy the slots early

Assisted-by: pi:llama.cpp/Qwen3.8-27B

* pi : add guideline for comments

* cont : disable 5/7 builds

* ci : make build-xcframework.sh builds configurable via CLI args

The script now takes an optional list of builds to run
(ios-sim ios-device macos visionos visionos-sim tvos-sim tvos-device);
with no arguments it builds all of them, as before. The per-build
lists for the build pool, framework setup, static library combining
and xcframework creation are now driven by a single build_spec
lookup instead of four hardcoded (partially commented-out) lists.

release.yml builds only macos and ios-device to cut the build time.

Assisted-by: pi:llama.cpp/Qwen3.8-27B
2026-08-17 14:53:21 +03:00
..
ai-issues.yml ai : update gh permissions (#20895) 2026-03-23 13:21:41 +02:00
bench.yml.disabled llama : move end-user examples to tools directory (#13249) 2025-05-02 20:27:13 +02:00
build-3rd-party.yml common : fix env names to all have LLAMA_ARG_ prefix (#23778) 2026-05-27 14:52:47 +03:00
build-and-test-snapdragon.yml snapdragon: bump toolchain docker to v0.7 to fix ui build issues (#23680) 2026-05-25 10:57:43 -07:00
build-android.yml ci : refactor (#23789) 2026-05-28 09:44:25 +03:00
build-apple.yml build : remove GGML_METAL_USE_BF16 from all build scripts (#26604) 2026-08-05 10:44:34 +02:00
build-cache.yml disable rocm cache (#26962) 2026-08-12 16:41:43 +03:00
build-cann.yml common : fix env names to all have LLAMA_ARG_ prefix (#23778) 2026-05-27 14:52:47 +03:00
build-cmake-pkg.yml ci: fix thread sanitizer + remove ccache (#26927) 2026-08-12 19:01:12 +03:00
build-cpu.yml ci: fix thread sanitizer + remove ccache (#26927) 2026-08-12 19:01:12 +03:00
build-cross.yml ci : reduce (disable SYCL and CANN builds/releases) (#23705) 2026-05-26 15:21:21 +03:00
build-cuda-ubuntu.yml ci: rm GGML_HIP_ROCWMMA_FATTN (#26760) 2026-08-09 18:15:28 +08:00
build-cuda-windows.yml disable rocm cache (#26962) 2026-08-12 16:41:43 +03:00
build-ibm.yml common : fix env names to all have LLAMA_ARG_ prefix (#23778) 2026-05-27 14:52:47 +03:00
build-msys.yml ci : build-msys job slimming [no ci] (#24157) 2026-06-05 07:57:36 +02:00
build-opencl.yml ci : refactor (#23789) 2026-05-28 09:44:25 +03:00
build-openvino.yml openvino: Update to OV 2026.2.1, self-contained release packages, operator improvements (#24974) 2026-06-26 15:07:19 +03:00
build-riscv.yml ci : refactor (#23789) 2026-05-28 09:44:25 +03:00
build-rpc.yml ci: remove redundant or duplicate jobs (#23927) 2026-06-01 06:32:17 +03:00
build-sanitize.yml ci: fix thread sanitizer + remove ccache (#26927) 2026-08-12 19:01:12 +03:00
build-self-hosted.yml ci : onboard AMD ROCm CI with gfx1151 fixes (#26544) 2026-08-06 10:43:26 +02:00
build-sycl.yml [SYCL] Fix CI build & release for SYCL backend (#24387) 2026-06-12 09:30:24 +03:00
build-virtgpu.yml ggml-virtgpu: Add a GHA build check (#22943) 2026-05-11 21:38:22 +08:00
build-vulkan.yml ci: fix vulkan llvmpipe runs (#26533) 2026-08-04 03:28:57 +00:00
build-wasm.yml ggml-webgpu: Fix WASM compilation with OpenMP (#25943) 2026-07-25 17:37:18 -07:00
build-webgpu.yml ggml-webgpu: Fix WASM compilation with OpenMP (#25943) 2026-07-25 17:37:18 -07:00
check-vendor.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
close-issue.yml ci: Also exempt 'security' tag from auto-close (#21844) 2026-04-14 01:18:44 +08:00
code-style.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
copilot-setup-steps.yml ci : limit requirements versions (#20980) 2026-03-25 10:55:37 +02:00
docker.yml ci : make release workflows use a deploy key (#27229) 2026-08-17 11:31:20 +03:00
editorconfig.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
gguf-publish.yml gguf-py : bump version to 0.19.0 (#22664) 2026-05-06 14:46:14 +02:00
hip-quality-check.yml Make hip quality check run on all changes (#25403) 2026-07-08 14:38:51 +02:00
labeler.yml ci : use new 1vCPU runner for lightweight jobs (#19107) 2026-01-26 15:22:49 +01:00
make-release.yml ci : allow make-release to target a specific commit (#27234) 2026-08-17 11:52:46 +03:00
pr-draft-label.yml ci: add pr-draft-label (#26801) 2026-08-09 16:51:21 +02:00
pre-tokenizer-hashes.yml ci : fix pre-tokenizer-hashes check (#23651) 2026-05-25 10:41:25 +02:00
python-check-requirements.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
python-lint.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
python-type-check.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
release.yml ci : reduce builds in build-xcframework.sh (#27252) 2026-08-17 14:53:21 +03:00
server-sanitize.yml tests : clean-up server test, use tests.sh in ci (#26886) 2026-08-11 09:07:13 +03:00
server-self-hosted.yml tests : clean-up server test, use tests.sh in ci (#26886) 2026-08-11 09:07:13 +03:00
server.yml tests : fix running server tests on windows (#26889) 2026-08-11 12:07:15 +03:00
ui-build-self-hosted.yml server: clean up static assets handling (#24550) 2026-06-13 11:51:20 +02:00
ui-build.yml server: clean up static assets handling (#24550) 2026-06-13 11:51:20 +02:00
ui-publish.yml server: remove loading.html (#25500) 2026-07-10 14:42:17 +02:00
ui-self-hosted.yml ui: PWA support (#23871) 2026-06-12 15:53:26 +02:00
ui.yml ui: PWA support (#23871) 2026-06-12 15:53:26 +02:00
update-ops-docs.yml ci : move most slim jobs to self-hosted runners (#23619) 2026-05-25 08:11:19 +03:00
winget.yml cmake : introduce semantic versioning (#26839) 2026-08-12 14:15:03 +02:00