File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 29
29
- name : Cargo clippy
30
30
working-directory : ${{ matrix.package }}
31
31
run : |
32
+ # to be suppressed when C SDK API_LEVEL_24 is available in dev-tools
33
+ git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
34
+ echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
35
+ export LEDGER_SDK_PATH=$(realpath c_sdk)
36
+ # ####################################### #
32
37
cargo clippy --target ${{ matrix.target }}
33
38
34
39
format :
@@ -57,11 +62,13 @@ jobs:
57
62
- name : Cargo build
58
63
working-directory : ledger_device_sdk
59
64
run : |
65
+ # to be suppressed when C SDK API_LEVEL_24 is available in dev-tools
60
66
git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
61
67
echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
62
68
export LEDGER_SDK_PATH=$(realpath c_sdk)
69
+ # ####################################### #
63
70
cargo build --target ${{ matrix.target }}
64
- if ($${ matrix.target } == "nanosplus" | $${ matrix.target } == "nanox") ; then
71
+ if [[ "${{ matrix.target }}" == "nanosplus" || "${{ matrix.target }}" == "nanox" ]] ; then
65
72
cargo build --target ${{ matrix.target }} --features nano_nbgl;
66
73
fi
67
74
You can’t perform that action at this time.
0 commit comments