Windows CI: fetch prebuilt path-dep plugins before pub get #28

Merged
such-gitea merged 1 commits from github-such-software/hash-wallet:dev into dev 2026-05-20 15:03:05 -04:00
Owner

After tool/generate_pubspec.dart rewrites pubspec.yaml with path-deps
on torch_dart / reown_flutter / bitbox_flutter, the subsequent pub get
fails if any of those directories is missing. Mirror the Android + iOS
workflows' approach: fetch the prebuilt tarballs (torch_dart,
reown_flutter), clone bitbox_flutter at the pinned commit, and pull the
monero_c release-bundle.zip before the configure step.

Also added an inspection step that prints the Windows-ish subdirs in the
monero_c bundle. We need x86_64-w64-mingw32 or x86_64-pc-windows-msvc
DLLs in there for the cw_monero / cw_wownero plugins to link against
later. The inspector output tells us what's actually shipped so we can
decide if a) we use them directly, b) we need to cross-compile on the
Linux runner first, or c) skip those wallets on Windows.

Issue Number (if Applicable): Fixes #

Description

Please include a summary of the changes and which issue is fixed / feature is added.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods
  • Manual tests in accessibility mode (TalkBack on Android) passed
After `tool/generate_pubspec.dart` rewrites pubspec.yaml with path-deps on torch_dart / reown_flutter / bitbox_flutter, the subsequent pub get fails if any of those directories is missing. Mirror the Android + iOS workflows' approach: fetch the prebuilt tarballs (torch_dart, reown_flutter), clone bitbox_flutter at the pinned commit, and pull the monero_c release-bundle.zip before the configure step. Also added an inspection step that prints the Windows-ish subdirs in the monero_c bundle. We need x86_64-w64-mingw32 or x86_64-pc-windows-msvc DLLs in there for the cw_monero / cw_wownero plugins to link against later. The inspector output tells us what's actually shipped so we can decide if a) we use them directly, b) we need to cross-compile on the Linux runner first, or c) skip those wallets on Windows. Issue Number (if Applicable): Fixes # # Description Please include a summary of the changes and which issue is fixed / feature is added. # Pull Request - Checklist - [ ] Initial Manual Tests Passed - [ ] Double check modified code and verify it with the feature/task requirements - [ ] Format code - [ ] Look for code duplication - [ ] Clear naming for variables and methods - [ ] Manual tests in accessibility mode (TalkBack on Android) passed
such-gitea added 1 commit 2026-05-20 15:00:28 -04:00
After `tool/generate_pubspec.dart` rewrites pubspec.yaml with path-deps
on torch_dart / reown_flutter / bitbox_flutter, the subsequent pub get
fails if any of those directories is missing. Mirror the Android + iOS
workflows' approach: fetch the prebuilt tarballs (torch_dart,
reown_flutter), clone bitbox_flutter at the pinned commit, and pull the
monero_c release-bundle.zip before the configure step.

Also added an inspection step that prints the Windows-ish subdirs in the
monero_c bundle. We need x86_64-w64-mingw32 or x86_64-pc-windows-msvc
DLLs in there for the cw_monero / cw_wownero plugins to link against
later. The inspector output tells us what's actually shipped so we can
decide if a) we use them directly, b) we need to cross-compile on the
Linux runner first, or c) skip those wallets on Windows.
such-gitea merged commit 32802bf010 into dev 2026-05-20 15:03:05 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Builds/hash-wallet#28