secubox-deb/.github/workflows
CyberMind edb3ce79b2
ci(build-packages): arch-aware matrix scheduling (closes #203) (#205)
The discover step previously scheduled an amd64 build for every
non-arch-all package, ignoring an explicit `Architecture: arm64`
or `Architecture: amd64` in debian/control. The amd64 job then
failed with `dpkg-genbuildinfo: error: binary build with no
binary artifacts found` because dpkg produces zero binaries for
an arch-foreign declared package on the build host.

Replace the implicit "amd64-always" logic with a case on the
binary stanza's Architecture field:

  all   -> amd64 (the arch-all .deb deployable on any arch)
  any   -> amd64 + arm64 (preserve current behavior)
  amd64 -> amd64 only
  arm64 -> arm64 only

Local dry-run on the current 133-package catalog: 132 amd64 + 1
arm64 combos (secubox-daemon is the only arch-any package), well
under the 256-jobs-per-matrix GH Actions cap.

Read the Architecture from the BINARY stanza (after Package:) so
the Source stanza's Architecture (which Debian convention sometimes
omits) doesn't interfere — awk pattern is `/^Package:/{p=1} p && /^Architecture:/{print $2; exit}`.

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 06:38:13 +02:00
..
build-all-live-usb.yml feat: Add metoblizer, streamlit power management, replace espressobin with mochabin 2026-05-10 18:37:58 +02:00
build-eye-remote.yml feat(remote-ui): Phase 1 — extract common/ shared core (ref #127) 2026-05-14 05:59:40 +02:00
build-image.yml feat(network): Smart auto-IP with ARP collision detection (v1.7.0.2) 2026-04-14 16:28:02 +02:00
build-installer-iso.yml feat(network): Smart auto-IP with ARP collision detection (v1.7.0.2) 2026-04-14 16:28:02 +02:00
build-live-usb.yml feat(ci): Add unified multi-platform live USB workflow 2026-04-11 11:20:46 +02:00
build-multiboot.yml fix(multiboot): Ensure kernel files are properly copied to EFI partition 2026-04-27 19:29:09 +02:00
build-packages.yml ci(build-packages): arch-aware matrix scheduling (closes #203) (#205) 2026-05-19 06:38:13 +02:00
build-secubox-cli.yml feat(secubox): complete meta-script generator Tasks 14-17 2026-05-11 05:32:29 +02:00
dashboard-cache-check.yml feat(scripts): add check-dashboard-cache.py lint + CI (closes #147) (#148) 2026-05-18 08:21:20 +02:00
license-check.yml ci(license): add License Headers workflow (ref #81) 2026-05-12 10:00:54 +02:00
publish-packages.yml fix(ci): Add workflow_call trigger to enable reusable workflows 2026-04-04 10:54:52 +02:00
release.yml ci+packaging: unblock v2.9.0 release — 4 package fixes + partial-release resilience 2026-05-17 10:14:50 +02:00
sync-all.yml feat(ci): Unified sync-all workflow + eyemote visual banner 2026-05-10 09:28:00 +02:00