Skip to content

msys2-runtime: make local test builds repeatable and incremental - #299

Draft
dscho wants to merge 1 commit into
mainfrom
add-msys2-runtime-test-build-helper
Draft

msys2-runtime: make local test builds repeatable and incremental#299
dscho wants to merge 1 commit into
mainfrom
add-msys2-runtime-test-build-helper

Conversation

@dscho

@dscho dscho commented Jul 14, 2026

Copy link
Copy Markdown
Member

This provides a repeatable, incremental path for testing msys2-runtime changes locally without risking retained worktrees through --cleanbuild.

The helper rebuilt new-msys-2.0.dll locally, and the next run reused the cached configuration. Hosted CI will skip the package build because no PKGBUILD changed.

Manually reconstructing the required MSYS environment and prerequisite
sequence consumed far more time than compiling the runtime. Codify that
knowledge so prepared source trees can be rebuilt incrementally while
preserving existing build trees and complete logs.

Document this workflow in `AGENTS.md`, including why `--cleanbuild` is
unsafe when `src` contains retained working source: it deletes the entire
directory.

Assisted-by: GPT-5.6 Sol
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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