feat(infra): Railway Vivado self-hosted GH Actions runner#621
Closed
gHashTag wants to merge 1 commit into
Closed
Conversation
- infra/railway-vivado-runner/Dockerfile: Ubuntu 22.04 + Vivado deps + GH Actions runner v2.319.1 - infra/railway-vivado-runner/src/main.rs: Rust entrypoint (no .sh per project policy) - infra/railway-vivado-runner/railway.toml: service definition with 3 persistent volumes - infra/railway-vivado-runner/README.md: step-by-step deploy guide - .github/workflows/vivado-self-hosted.yml: synth pipeline targeting self-hosted runner labels Unblocks PR #604 (Vivado CI with UART telemetry) and tok/s measurement on silicon. Refs #620 Refs #604
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Owner
Author
|
Superseded by #622 — Vivado moved to GitHub Actions Docker (no Railway, no self-hosted runner, $0/month). Closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Provisions a managed x86_64 Linux runner with Vivado 2025.2, registered as a self-hosted GitHub Actions runner against t27. Unblocks PR #604 (Vivado-CI with UART telemetry) and tok/s measurement on silicon.
What ships
infra/railway-vivado-runner/runner-entrypoint). Registers runner with GH if no.runnerconfig exists, sources Vivado settings64.sh into env, exec's./run.sh(GH-supplied). No bash entrypoint.sh per project policy: запрешены .sh .py./opt/Xilinx(130 GB Vivado install),/opt/installer(1 GB installer drop),/actions-runner/_work(20 GB cache).railway up→ silent Vivado install → verification..github/workflows/vivado-self-hosted.ymlruns-on: [self-hosted, vivado, x86_64, linux]fpga-build --smoke, runs Vivado synth, optionally runs UART smoke if DLC-10 JTAG attached (gated byLANES_ATTACHED=1).Why Railway
M4 Mac (228 GB SSD, ~11 GB free, ARM64) cannot host Vivado: needs ~110 GB and x86_64. Railway provides managed x86_64 Linux containers with persistent volumes. Tailscale already configured Mac-side for any reverse access if needed.
Operator next steps
See
infra/railway-vivado-runner/README.md. After merge:cd infra/railway-vivado-runner && railway initrailway volume push ~/Downloads/Vivado_2025.2_Lin64.bin /opt/installer/railway variables set GH_RUNNER_TOKEN=… GH_REPO_URL=https://github.com/gHashTag/t27railway uprailway run /opt/installer/Vivado_2025.2_Lin64.bin --batch Install …vivado-self-hosted.ymlwith design=blinkyCost
~$35–55/month Railway Pro (8 vCPU / 32 GB / 150 GB).
Policy compliance
Refs #620
Refs #604