Skip to content

feat: headless-first rewrite with CI/CD pipeline#5

Merged
aanas-sayed merged 14 commits intomainfrom
dev/workflow
Apr 21, 2026
Merged

feat: headless-first rewrite with CI/CD pipeline#5
aanas-sayed merged 14 commits intomainfrom
dev/workflow

Conversation

@aanas-sayed
Copy link
Copy Markdown
Owner

Summary

Comprehensive overhaul of docker-ltspice to be headless-first with a full CI/CD release pipeline.

Changes

Dockerfile

  • Migrated to debian:bookworm-slim base for a smaller image
  • Fixed Wine/Xvfb initialisation sequence that caused hangs
  • Switched Wine install to --no-install-recommends (~110MB reduction)
  • Build-only tools (wget, p7zip-full, unzip) removed after use

Headless operation

  • New entrypoint.sh: primes Wine before starting Xvfb to prevent service hangs
  • ltspice wrapper script for clean CLI usage

Testing

  • test.sh: full batch simulation + .meas result validation
  • .github/workflows/test.yml: CI on every push and PR

Release pipeline

  • .github/workflows/release.yml: ETag-based LTspice change detection, builds only when MSI changes (or on push/manual trigger), tags as latest, YYYY.MM.DD, and YYYY.MM.DD-<sha>

README

  • Rewritten for headless-first usage
  • X11 forwarding documented for Linux and macOS (XQuartz)
  • Z: drive path guidance added to troubleshooting

@aanas-sayed aanas-sayed merged commit ebb85f5 into main Apr 21, 2026
1 check passed
@aanas-sayed aanas-sayed deleted the dev/workflow branch April 21, 2026 21:21
@aanas-sayed aanas-sayed restored the dev/workflow branch April 21, 2026 21:23
@aanas-sayed aanas-sayed deleted the dev/workflow branch April 23, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant