File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 57
57
- name : Cargo build
58
58
working-directory : ledger_device_sdk
59
59
run : |
60
+ git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
61
+ echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
62
+ export LEDGER_SDK_PATH=$(realpath c_sdk)
60
63
cargo build --target ${{ matrix.target }}
64
+ if ($${ matrix.target } == "nanosplus" | $${ matrix.target } == "nanox"); then
65
+ cargo build --target ${{ matrix.target }} --features nano_nbgl;
66
+ fi
61
67
62
68
test :
63
69
name : Run unit and integration tests
73
79
- name : Unit tests
74
80
working-directory : ledger_device_sdk
75
81
run : |
76
- cargo test --target ${{ matrix.target }} --features speculos --tests
82
+ cargo test --target ${{ matrix.target }} --features speculos,debug --tests
77
83
78
84
build-apps :
79
85
name : Build all Rust apps
You can’t perform that action at this time.
0 commit comments