7 Commits

Author SHA1 Message Date
MarcoFalke
fa9627af9f
ci: Rely on cmake --preset toolchain file
This is the standard approach and avoids relying on
VCPKG_INSTALLATION_ROOT and -DCMAKE_TOOLCHAIN_FILE= in the ci-windows.py
script.

This makes it easier to run locally.
2026-02-09 09:20:02 +01:00
MarcoFalke
fa3f89acaa
ci: Add check_manifests to ci-windows.py
This is mostly a refactor, except for placing the bitcoind.manifest into
a different folder.
2026-02-09 09:19:17 +01:00
MarcoFalke
1111079a16
ci: Add run_tests step to ci-windows.py
This is mostly a refactor, except for using the runner workspace (cwd) for:
* fuzz qa-assets
* functional temp prefix

This makes it easier to run the ci-windows.py locally.
2026-02-09 09:18:39 +01:00
MarcoFalke
fa561682ce
ci: [refactor] Add .github/ci-windows.py prepare_tests step 2026-02-06 09:54:28 +01:00
MarcoFalke
fa3e607c6d
ci: Print verbose Windows CI build failure 2026-02-06 08:55:42 +01:00
MarcoFalke
4444808dd3
ci: [refactor] Add .github/ci-windows.py build step
Note, the use of process_cpu_count() is intentional. It was only added
in Python 3.13, according to
https://docs.python.org/3/library/os.html#os.process_cpu_count .

However, Python 3.13 is also the minimum required version on Windows,
according to
https://github.com/bitcoin/bitcoin/issues/29897#issuecomment-2940318094
to avoid intermittent test failures.
2026-02-06 08:54:26 +01:00
MarcoFalke
fabdd4e823
ci: Refactor Windows CI into script
This makes it easier to:

* Run the exact command of any CI type and step locally
* Re-Run older CI tasks on GHA and using the latest merged config.
  (.github/ci-windows.py is merged with master on re-runs, but
  .github/workflows/ci.yml is NOT)

Also, writing it in Python has benefits:

* Any developer (even non-Windows ones) can read and modify the script.
* Python is already required for tests, so no new dependency is needed.
2026-02-06 08:54:12 +01:00