Compare commits

...

2 Commits

Author SHA1 Message Date
b21441d32a Merge pull request 'Windows CI: source MinGW runtime DLLs from Flutter's bundled mingit' (#34) from github-such-software/hash-wallet:dev into dev
Reviewed-on: #34
2026-05-20 19:20:45 -04:00
jwinterm
93ed1bd9ee Windows CI: source MinGW runtime DLLs from Flutter's bundled mingit
Flutter ships its own copy of Git ("mingit") at C:\flutter\bin\mingit\,
which includes the MinGW runtime DLLs (libssp-0.dll, libwinpthread-1.dll).
This is guaranteed present on every runner since Flutter is a hard
prerequisite. Prefer it over choco's mingw package or the system Git
install — both of which proved fragile (choco's mingw install didn't
land at the documented path, and the system Git's mingw64\bin had been
overwritten by some other tool's .NET assemblies).
2026-05-20 19:19:52 -04:00

View File

@@ -182,9 +182,10 @@ jobs:
# MinGW-w64 distribution, which ships the same x86_64-w64-mingw32
# ABI used to build the wallet libs.
RUNTIME_PATHS=(
"/c/flutter/bin/mingit/mingw64/bin" # Flutter's bundled mingit — guaranteed present since Flutter is
"$SRC" # monero_c bundle
"/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin" # choco install -y mingw
"/c/Program Files/Git/mingw64/bin" # Git for Windows
"/c/Program Files/Git/mingw64/bin" # Git for Windows (may be overwritten by other tools)
"/mingw64/bin" # MSYS2 fallback
)
for runtime in libssp-0.dll libwinpthread-1.dll; do