Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 37 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
- develop
- master # for safety reasons
- dev # for safety reasons
- dev # for safety reasons

jobs:
configure:
Expand Down Expand Up @@ -69,6 +69,13 @@ jobs:
echo "cargo_home=$GITHUB_WORKSPACE/app/rust/.cargo" >> $GITHUB_OUTPUT
echo "rustup_home=$GITHUB_WORKSPACE/app/rust/.rustup" >> $GITHUB_OUTPUT

build_application:
name: Build application using the reusable workflow
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
upload_app_binaries_artifact: "compiled_app_binaries"
builder: ledger-app-builder

build_ledger:
needs: [configure, setup_rust]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -166,7 +173,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: "22"

- name: Install yarn
run: npm install -g yarn
Expand Down Expand Up @@ -206,7 +213,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: "22"
- name: Install yarn
run: |
npm install -g yarn
Expand All @@ -232,7 +239,15 @@ jobs:
path: tests_zemu/snapshots-tmp/

build_package_nanosp:
needs: [configure, setup_rust, build_ledger, tests_zemu_setup, test_zemu, rust_tests]
needs:
[
configure,
setup_rust,
build_ledger,
tests_zemu_setup,
test_zemu,
rust_tests,
]
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -287,7 +302,15 @@ jobs:
prerelease: false

build_package_stax:
needs: [configure, setup_rust, build_ledger, tests_zemu_setup, test_zemu, rust_tests]
needs:
[
configure,
setup_rust,
build_ledger,
tests_zemu_setup,
test_zemu,
rust_tests,
]
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -342,7 +365,15 @@ jobs:
prerelease: false

build_package_flex:
needs: [configure, setup_rust, build_ledger, tests_zemu_setup, test_zemu, rust_tests]
needs:
[
configure,
setup_rust,
build_ledger,
tests_zemu_setup,
test_zemu,
rust_tests,
]
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
container:
Expand Down
1 change: 1 addition & 0 deletions app/Makefile.rust
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ LDLIBS += -lm -lgcc -lc
LDLIBS += -L$(MY_DIR)rust/target/$(RUST_TARGET)/release -lrslib

APP_SOURCE_PATH += $(CURDIR)/rust/include
APP_CUSTOM_LINK_DEPENDENCIES = rust

.PHONY: rust
rust:
Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=1
# Minor
APPVERSION_N=2
# Patch
APPVERSION_P=4
APPVERSION_P=5
Binary file modified tests_zemu/snapshots/fl-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/st-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading