2929 - name : Cargo clippy
3030 working-directory : ${{ matrix.package }}
3131 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- # ####################################### #
3732 cargo clippy --target ${{ matrix.target }}
3833
3934 format :
6257 - name : Cargo build
6358 working-directory : ledger_device_sdk
6459 run : |
65- # to be suppressed when C SDK API_LEVEL_24 is available in dev-tools
66- git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
67- echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
68- export LEDGER_SDK_PATH=$(realpath c_sdk)
69- # ####################################### #
7060 cargo build --target ${{ matrix.target }}
7161 if [[ "${{ matrix.target }}" == "nanosplus" || "${{ matrix.target }}" == "nanox" ]]; then
7262 cargo build --target ${{ matrix.target }} --features nano_nbgl;
@@ -86,17 +76,10 @@ jobs:
8676 - name : Unit tests
8777 working-directory : ledger_device_sdk
8878 run : |
89- # to be suppressed when C SDK API_LEVEL_24 is available in dev-tools
90- git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
91- echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
92- export LEDGER_SDK_PATH=$(realpath c_sdk)
93- pip install -U speculos --break-system-packages
94- # ####################################### #
9579 cargo test --target ${{ matrix.target }} --features speculos,debug --tests
9680
9781 build-apps :
9882 name : Build all Rust apps
9983 uses : ./.github/workflows/reusable_build_all_apps.yml
10084 with :
10185 rust_sdk_branch : ${{ github.ref }}
102- c_sdk_branch : API_LEVEL_24
0 commit comments