Skip to content

Start to build using Makefiles#1336

Open
danrmiller wants to merge 117 commits into
stagingfrom
feat/make
Open

Start to build using Makefiles#1336
danrmiller wants to merge 117 commits into
stagingfrom
feat/make

Conversation

@danrmiller
Copy link
Copy Markdown
Collaborator

@danrmiller danrmiller commented May 13, 2026

Courtesy of ongoing work by @parasew this introduces Nix flake + Makefile towards eventual reproducible builds.

  • Adds a flake.nix dev shell with pinned nixpkgs for reproducible Flutter/Rust toolchain
  • Adds a comprehensive Makefile as the single build entry point for all platforms
  • Adds macOS build patches for Nix+Xcode interop (lipo/xcrun wrappers)
  • Adds an MWC FFI integration test suite (~1000 lines)
  • Pins Rust toolchains to stable + 1.85.1 (drops 1.81.0 and 1.89.0)
  • Bumps macos deployment target from 10.15 to 11.0
  • Adds a macos smoke-build CI job

Lunar Dev and others added 30 commits May 11, 2026 22:29
…r icons

Co-authored-by: sneurlax <sneurlax@gmail.com>
Co-authored-by: sneurlax <sneurlax@gmail.com>
Co-authored-by: sneurlax <sneurlax@gmail.com>
…stack.stackduo (fixes invalid bundle-id chars)
Lunar Dev and others added 18 commits May 11, 2026 22:32
…de*.app and switches xcode-select to it, so the CI runner uses the full Xcode SDK instead of CLI tools.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 4.93%. Comparing base (cf7251b) to head (4777452).
⚠️ Report is 1 commits behind head on staging.

Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #1336   +/-   ##
========================================
  Coverage     4.93%    4.93%           
========================================
  Files         1064     1064           
  Lines       107980   107980           
========================================
  Hits          5328     5328           
  Misses      102652   102652           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danrmiller danrmiller marked this pull request as ready for review May 13, 2026 21:11
@danrmiller danrmiller marked this pull request as ready for review May 13, 2026 21:11
@danrmiller danrmiller requested a review from julian-CStack May 13, 2026 21:12
Copy link
Copy Markdown
Collaborator Author

@danrmiller danrmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will discuss on call with @parasew

"\"${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}\"",
/usr/lib/swift,
);
PRODUCT_MODULE_NAME = stack_wallet;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per @julian-CStack since its a template, stack_wallet should not be found in this file. If thats an updated requirement for newer macos or general macos builds we'll need to update the template to actual gen scripts to update it on copy

export NEW_APP_ID="com.cypherstack.stackduo"
export NEW_APP_ID_CAMEL="com.cypherstack.stackDuo"
export NEW_APP_ID_SNAKE="com.cypherstack.stack_duo"
export NEW_APP_ID_SNAKE="com.cypherstack.stackduo"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julian-CStack is unsure about the purpose of this change as the bash var is specifically called snake case id.

…job to Makefile

make build-macos now drives the full macOS release build via the Makefile,
replacing the old build_app.sh -d -s download path with source compilation.

build.yaml: remove redundant Configure/GetDeps/GitVersions/Build steps now
handled by make build-macos. Add dtolnay/rust-toolchain@stable + 1.85.1 install
so check-reqs passes.

Makefile: test-mwc now ensures local stable rustup toolchain is installed and
defaulted before flutter test -d macos, fixing missing flutter_libsparkmobile
framework linker error when Cargokit rebuilds for Debug mode.
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.

2 participants