10
10
- cron : ' 0 12 * * *'
11
11
12
12
jobs :
13
- build_csdk_build_parameters_extractor :
14
- runs-on : ubuntu-latest
15
- container :
16
- image : ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
17
- steps :
18
- - name : Checkout C SDK Build Parameters Extractor
19
- uses : actions/checkout@v4
20
- with :
21
- repository : LedgerHQ/csdk_build_parameters_extractor
22
- path : c_sdk_build_params_x
23
- - name : Build C SDK Build Parameters Extractor
24
- run : |
25
- cd c_sdk_build_params_x
26
- cargo build --release
27
- - name : Upload C SDK Build Parameters Extractor
28
- uses : actions/upload-artifact@v4
29
- with :
30
- name : c_sdk_build_params_extractor
31
- path : c_sdk_build_params_x/target/release/cbpx
32
13
check_csdk_build_parameters :
33
14
runs-on : ubuntu-latest
34
- needs : build_csdk_build_parameters_extractor
35
15
container :
36
16
image : ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
37
17
strategy :
38
18
matrix :
39
- target : ["nanox", "nanosplus", "stax", "flex"]
19
+ target : ["nanox", "nanosplus", "stax", "flex", "apex_p" ]
40
20
steps :
41
21
- name : Checkout C BP
42
22
uses : actions/checkout@v4
@@ -47,15 +27,14 @@ jobs:
47
27
uses : actions/checkout@v4
48
28
with :
49
29
repository : LedgerHQ/csdk_build_parameters_extractor
50
- path : c_sdk_build_params
51
- - name : Download C SDK Build Parameters Extractor
52
- uses : actions/download-artifact@v4
53
- with :
54
- name : c_sdk_build_params_extractor
30
+ path : c_sdk_build_params_x
31
+ - name : Build C SDK Build Parameters Extractor
32
+ run : |
33
+ cd c_sdk_build_params_x
34
+ cargo build --release
55
35
- name : Run C SDK Build Parameters Extractor
56
36
run : |
57
- chmod +x cbpx
58
- ./cbpx --app-path c_boilerplate \
37
+ ./target/release/cbpx --app-path ../c_boilerplate \
59
38
--device ${{ matrix.target }}
60
39
if [ $? -ne 0 ]; then
61
40
echo "C SDK build parameters do not match with ref ones for target ${{ matrix.target }}"
0 commit comments