Skip to content

Commit bda148f

Browse files
committed
Fix workflow
1 parent 68315f5 commit bda148f

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed

.github/workflows/check_csdk_build_parameters.yml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,13 @@ on:
1010
- cron: '0 12 * * *'
1111

1212
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
3213
check_csdk_build_parameters:
3314
runs-on: ubuntu-latest
34-
needs: build_csdk_build_parameters_extractor
3515
container:
3616
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
3717
strategy:
3818
matrix:
39-
target: ["nanox", "nanosplus", "stax", "flex"]
19+
target: ["nanox", "nanosplus", "stax", "flex", "apex_p"]
4020
steps:
4121
- name: Checkout C BP
4222
uses: actions/checkout@v4
@@ -47,15 +27,14 @@ jobs:
4727
uses: actions/checkout@v4
4828
with:
4929
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
5535
- name: Run C SDK Build Parameters Extractor
5636
run: |
57-
chmod +x cbpx
58-
./cbpx --app-path c_boilerplate \
37+
./target/release/cbpx --app-path ../c_boilerplate \
5938
--device ${{ matrix.target }}
6039
if [ $? -ne 0 ]; then
6140
echo "C SDK build parameters do not match with ref ones for target ${{ matrix.target }}"

0 commit comments

Comments
 (0)