File tree Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Build C Boilerplate application and check if C SDK build parameters are still correct
2
2
3
3
on :
4
+ pull_request :
4
5
workflow_dispatch :
5
6
schedule :
6
7
# * is a special character in YAML so you have to quote this string
15
16
- name : Checkout C SDK Build Parameters Extractor
16
17
uses : actions/checkout@v4
17
18
with :
18
- repository : LedgerHQ/csdk_build_params_x
19
+ repository : LedgerHQ/csdk_build_parameters_extractor
19
20
path : c_sdk_build_params_x
20
21
- name : Build C SDK Build Parameters Extractor
21
22
run : |
48
49
name : c_sdk_build_params_extractor
49
50
- name : Run C SDK Build Parameters Extractor
50
51
run : |
51
- c_sdk_build_params_extractor --app-path c_boilerplate \
52
+ # to be suppressed when C SDK API_LEVEL_24 is available in dev-tools
53
+ git clone https://github.com/LedgerHQ/ledger-secure-sdk.git --branch API_LEVEL_24 --single-branch c_sdk
54
+ echo "setting LEDGER_SDK_PATH to $(realpath c_sdk)"
55
+ export LEDGER_SDK_PATH=$(realpath c_sdk)
56
+ # ####################################### #
57
+ chmod +x cbpx
58
+ ./cbpx --app-path c_boilerplate \
52
59
--device ${{ matrix.target }}
53
60
# Compare output with matching file
54
61
diff c_sdk_build_${{ matrix.target }}.cflags ledger_secure_sdk_sys/c_sdk_build_${{ matrix.target }}.cflags
Original file line number Diff line number Diff line change 13
13
#define USB_SEGMENT_SIZE 64
14
14
#define HAVE_WEBUSB
15
15
#define WEBUSB_URL_SIZE_B 0
16
- #define WEBUSB_URL
16
+ #define WEBUSB_URL
17
17
#define HAVE_IO_U2F
18
18
#define OS_IO_SEPROXYHAL
19
19
#define STANDARD_APP_SYNC_RAPDU
Original file line number Diff line number Diff line change 9
9
#define USB_SEGMENT_SIZE 64
10
10
#define HAVE_WEBUSB
11
11
#define WEBUSB_URL_SIZE_B 0
12
- #define WEBUSB_URL
12
+ #define WEBUSB_URL
13
13
#define OS_IO_SEPROXYHAL
14
14
#define STANDARD_APP_SYNC_RAPDU
15
15
#define REVAMPED_IO
Original file line number Diff line number Diff line change 12
12
#define USB_SEGMENT_SIZE 64
13
13
#define HAVE_WEBUSB
14
14
#define WEBUSB_URL_SIZE_B 0
15
- #define WEBUSB_URL
15
+ #define WEBUSB_URL
16
16
#define HAVE_IO_U2F
17
17
#define OS_IO_SEPROXYHAL
18
18
#define STANDARD_APP_SYNC_RAPDU
Original file line number Diff line number Diff line change 13
13
#define USB_SEGMENT_SIZE 64
14
14
#define HAVE_WEBUSB
15
15
#define WEBUSB_URL_SIZE_B 0
16
- #define WEBUSB_URL
16
+ #define WEBUSB_URL
17
17
#define HAVE_IO_U2F
18
18
#define OS_IO_SEPROXYHAL
19
19
#define STANDARD_APP_SYNC_RAPDU
You can’t perform that action at this time.
0 commit comments