Skip to content

Commit 5522857

Browse files
committed
Test
1 parent 5fd27fb commit 5522857

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/build_all_apps.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,12 @@ jobs:
6161
with:
6262
path: sdk
6363
ref: ${{ inputs.sdk_branch }}
64+
6465
- name: Build App
6566
run: |
6667
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
67-
devicestring=$(echo ${{matrix.apps.devices}} | sed -e 's/\[ //g' -e 's/\ ]//g' -e 's/\,//g')
68-
devices=($devicestring)
69-
echo $devices
70-
for device in ${devices[@]}; do
68+
ARRAY=$(echo "${{ matrix.apps.devices }}" | jq -r '.[]')
69+
for device in $ARRAY; do
7170
echo "Building for $device"
7271
make clean
7372
make -j TARGET=$device BOLOS_SDK=$GITHUB_WORKSPACE/sdk

.github/workflows/scripts/get_c_apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# Filter out apps that are C based
3939
if manifest.app.sdk == "c":
4040
if app.name not in excluded_apps:
41-
c_apps.append({"app-name": app.name, "build-directory": str(manifest.app.build_directory) ,"devices": list(manifest.app.devices)})
41+
c_apps.append({"app-name": app.name, "build-directory": str(manifest.app.build_directory) ,"devices": manifest.app.devices.json})
4242

4343
# Print the number of apps to build
4444
print("Nb of apps to build: ", len(c_apps))

0 commit comments

Comments
 (0)