Skip to content

Commit a848bc0

Browse files
committed
Test
1 parent 5522857 commit a848bc0

File tree

1 file changed

+27
-37
lines changed

1 file changed

+27
-37
lines changed

.github/workflows/build_all_apps.yml

Lines changed: 27 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -61,44 +61,34 @@ jobs:
6161
with:
6262
path: sdk
6363
ref: ${{ inputs.sdk_branch }}
64-
65-
- name: Build App
64+
- name: Build App for Nano X
65+
if: contains(${{ matrix.apps.devices }}, nanox)
6666
run: |
67-
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
68-
ARRAY=$(echo "${{ matrix.apps.devices }}" | jq -r '.[]')
69-
for device in $ARRAY; do
70-
echo "Building for $device"
71-
make clean
72-
make -j TARGET=$device BOLOS_SDK=$GITHUB_WORKSPACE/sdk
73-
done
74-
# - name: Build App for Nano X
75-
# if: contains(${{ matrix.apps.devices }}, nanox)
76-
# run: |
77-
# cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
78-
# echo "Building for Nano X"
79-
# make clean
80-
# make -j TARGET=nanox BOLOS_SDK=$GITHUB_WORKSPACE/sdk
81-
# - name: Build App for Nano S+
82-
# if: contains(${{ matrix.apps.devices }}, nanos+)
83-
# run: |
84-
# cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
85-
# echo "Building for Nano S+"
86-
# make clean
87-
# make -j TARGET=nanos2 BOLOS_SDK=$GITHUB_WORKSPACE/sdk
88-
# - name: Build App for Stax
89-
# if: contains(${{ matrix.apps.devices }}, stax)
90-
# run: |
91-
# cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
92-
# echo "Building for Stax"
93-
# make clean
94-
# make -j TARGET=stax BOLOS_SDK=$GITHUB_WORKSPACE/sdk
95-
# - name: Build App for Flex
96-
# if: contains(${{ matrix.apps.devices }}, flex)
97-
# run: |
98-
# cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
99-
# echo "Building for Flex"
100-
# make clean
101-
# make -j TARGET=flex BOLOS_SDK=$GITHUB_WORKSPACE/sdk
67+
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
68+
echo "Building for Nano X"
69+
make clean
70+
make -j TARGET=nanox BOLOS_SDK=$GITHUB_WORKSPACE/sdk
71+
- name: Build App for Nano S+
72+
if: contains(${{ matrix.apps.devices }}, nanos+)
73+
run: |
74+
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
75+
echo "Building for Nano S+"
76+
make clean
77+
make -j TARGET=nanos2 BOLOS_SDK=$GITHUB_WORKSPACE/sdk
78+
- name: Build App for Stax
79+
if: contains(${{ matrix.apps.devices }}, stax)
80+
run: |
81+
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
82+
echo "Building for Stax"
83+
make clean
84+
make -j TARGET=stax BOLOS_SDK=$GITHUB_WORKSPACE/sdk
85+
- name: Build App for Flex
86+
if: contains(${{ matrix.apps.devices }}, flex)
87+
run: |
88+
cd ${{ matrix.apps.app-name }}/${{ matrix.apps.build-directory }}
89+
echo "Building for Flex"
90+
make clean
91+
make -j TARGET=flex BOLOS_SDK=$GITHUB_WORKSPACE/sdk
10292
10393
10494

0 commit comments

Comments
 (0)