cmake build system - #1687
Draft
mbrousset-ledger wants to merge 3 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## master #1687 +/- ##
===========================================
- Coverage 39.72% 24.11% -15.61%
===========================================
Files 240 214 -26
Lines 23180 19347 -3833
Branches 4617 4448 -169
===========================================
- Hits 9208 4666 -4542
- Misses 13464 14204 +740
+ Partials 508 477 -31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Comment on lines
+14
to
+46
| name: Unit tests | ||
| runs-on: ubuntu-latest | ||
| # Brings clang, ruby (CMock), lcov and Pillow (NBGL glyph generation). | ||
| container: | ||
| image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest | ||
|
|
||
| steps: | ||
| - name: Clone | ||
| uses: actions/checkout@v4 | ||
|
|
||
| # The container user differs from the checkout owner, which stops the | ||
| # SDK_VERSION/SDK_HASH lookup in target_profile.cmake. | ||
| - name: Trust the checkout | ||
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
|
|
||
| - name: Configure | ||
| run: cmake --preset unit-tests | ||
|
|
||
| - name: Build | ||
| run: cmake --build --preset unit-tests --parallel | ||
|
|
||
| - name: Run tests | ||
| run: ctest --preset unit-tests | ||
|
|
||
| - name: Generate coverage | ||
| run: cmake --build --preset unit-tests --target generate_coverage | ||
|
|
||
| - name: Upload coverage to Codecov | ||
| uses: codecov/codecov-action@v4 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| files: build-cmake/unit-tests/coverage.info | ||
| fail_ci_if_error: true |
mbrousset-ledger
force-pushed
the
mbr/cmake2
branch
from
August 14, 2026 13:44
a49f1b6 to
ec8028f
Compare
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To build unit tests :
Subsequent integration in
app-boilerplate:LedgerHQ/app-boilerplate#221