Skip to content

Compile release binaries on the self-hosted runner in Russia - #16

Merged
krotname merged 3 commits into
masterfrom
ci/release-on-self-hosted-runner
Jul 28, 2026
Merged

Compile release binaries on the self-hosted runner in Russia#16
krotname merged 3 commits into
masterfrom
ci/release-on-self-hosted-runner

Conversation

@krotname

Copy link
Copy Markdown
Owner

The Russian software registry filing declares where the source text is stored and where the product is compiled. Release binaries therefore have to come off a machine that matches that declaration, not a GitHub-hosted runner in the US.

Changes

  • release.yml: the build matrix (Win32, x64, ARM64) runs on [self-hosted, windows, adler] with a 90-minute timeout. version, compatibility-smoke, and release stay on windows-2022.
  • New runner-selftest.yml: a manual workflow_dispatch job that builds every platform on the runner and reports the machine specs. It publishes nothing.

Safety

release.yml triggers only on push of a v* tag and on manual dispatch. Pull requests — including forks — never reach the self-hosted runner; CI_build, CodeQL, dependency review and Actionlint keep running on GitHub-hosted runners.

Runner

adler-white-1w-npp-mte, registered against this repository, online, labels self-hosted, Windows, X64, adler. Xeon E5-2680 v4, 64 GB RAM, 578 GB free.

Merge only after the MSVC C++ toolchain (x86/x64/ARM64 + Windows SDK) is installed on that machine and Runner self-test passes — the installation currently needs a reboot of the host.

🤖 Generated with Claude Code

The Russian software registry filing declares where the source is stored and
where the product is compiled, so release binaries have to come off a machine
that matches that declaration. The release build matrix (Win32, x64, ARM64)
moves to the self-hosted runner (labels: self-hosted, windows, adler);
CI_build, CodeQL, dependency review, and the compatibility smoke stay on
GitHub-hosted runners.

The workflow only starts on tag pushes and manual dispatch, so no pull request
from a fork can execute code on that machine.

Adds a manual Runner self-test workflow that builds every platform on the
runner without publishing anything.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

krotname and others added 2 commits July 28, 2026 13:05
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A manual dispatch executes the workflow file and the build scripts of whatever
ref the dispatcher picks, so any write-capable account could have run arbitrary
branch code on the persistent runner. Both jobs now require the default branch
(release also accepts v* tags), and the release job that depends on the build
is skipped along with it.

The self-test also runs CleanPackage before Package, so an incremental build on
the persistent runner cannot make the job pass without a real recompile.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@krotname
krotname merged commit 3bb3f99 into master Jul 28, 2026
21 checks passed
@krotname
krotname deleted the ci/release-on-self-hosted-runner branch July 28, 2026 10:38
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