Skip to content

Commit 1ed6ada

Browse files
committed
Changed: add a way to download SDK
Download SDK if persistent dir is not available. Signed-off-by: Jiaxing Shi <quic_jiaxshi@quicinc.com>
1 parent a1b6ef7 commit 1ed6ada

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/build-check-sdk.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Test with SDK
33
on: [push, pull_request]
44

55
env:
6-
PERSIST_DIR: /srv/gh-runners/quic-qrb-ros
6+
PERSIST_DIR: /srv/gh-runners/quic-qrb-rosx
77
DL_DIR: /srv/gh-runners/quic-qrb-ros/downloads
88
WORKSPACE: ${{ github.workspace }}/ros_ws
99
SDK_DIR: ${{ github.workspace }}/sdk
@@ -24,8 +24,20 @@ jobs:
2424
Y
2525
EOF
2626
else
27-
echo "SDK is not available!!! Exit."
28-
exit 1
27+
echo "Downloading SDK from CLO..."
28+
wget https://artifacts.codelinaro.org/artifactory/qli-ci/flashable-binaries/qirpsdk/qcs6490-rb3gen2-vision-kit/x86/qcom-6.6.38-QLI.1.2-Ver.1.1_robotics-product-sdk-1.1.zip
29+
if [ $? != 0 ];then
30+
Download SDK failed!!!. Exit!.
31+
exit 2
32+
fi
33+
unzip qcom-6.6.38-QLI.1.2-Ver.1.1_robotics-product-sdk-1.1.zip
34+
echo "Setting up SDK..."
35+
36+
umask 022
37+
./target/qcs6490-rb3gen2-vision-kit/sdk/qcom-robotics-ros2-humble-x86_64-qcom-robotics-full-image-armv8-2a-qcs6490-rb3gen2-vision-kit-toolchain-1.0.sh <<EOF
38+
${SDK_DIR}
39+
Y
40+
EOF
2941
fi
3042
3143
- name: Checkout repo

0 commit comments

Comments
 (0)