forked from github-such-software/hash-wallet
Windows CI: prefer Git for Windows' mingw64 over Flutter's mingit #36
11
.github/workflows/build-windows.yml
vendored
11
.github/workflows/build-windows.yml
vendored
@@ -181,11 +181,16 @@ jobs:
|
||||
# *.dll.a import libs), so we source them from Git Bash's bundled
|
||||
# MinGW-w64 distribution, which ships the same x86_64-w64-mingw32
|
||||
# ABI used to build the wallet libs.
|
||||
# ORDERING MATTERS: monero_c's prebuilt wallet DLLs are built against
|
||||
# recent MinGW-w64 (post-2022 winpthreads ABI with pthread_cond_timedwait64).
|
||||
# Flutter's bundled mingit ships a 2017-vintage libwinpthread that's
|
||||
# missing newer symbols and crashes wallet creation at runtime. Prefer
|
||||
# Git for Windows' mingw64/bin which is updated frequently.
|
||||
RUNTIME_PATHS=(
|
||||
"/c/flutter/bin/mingit/mingw64/bin" # Flutter's bundled mingit — guaranteed present since Flutter is
|
||||
"$SRC" # monero_c bundle
|
||||
"/c/Program Files/Git/mingw64/bin" # Git for Windows — modern MinGW runtime (preferred)
|
||||
"$SRC" # monero_c bundle (in case it grows DLLs)
|
||||
"/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin" # choco install -y mingw
|
||||
"/c/Program Files/Git/mingw64/bin" # Git for Windows (may be overwritten by other tools)
|
||||
"/c/flutter/bin/mingit/mingw64/bin" # Flutter's bundled mingit — old (2017), use only as last resort
|
||||
"/mingw64/bin" # MSYS2 fallback
|
||||
)
|
||||
for runtime in libssp-0.dll libwinpthread-1.dll; do
|
||||
|
||||
Reference in New Issue
Block a user