File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : IRIS Injection
2- description : Inject IRIS app into rootfs image
2+ description : Inject IRIS app and video content tarball into rootfs image
33
44inputs :
55 machine :
8080 ls -l /dev/loop* || true
8181 losetup -a || true
8282
83- # Try to expose more loop devices in the container
8483 modprobe loop max_loop=64 || true
8584 for i in $(seq 0 63); do
8685 [ -b /dev/loop$i ] || mknod -m 660 /dev/loop$i b 7 "$i" || true
@@ -124,11 +123,15 @@ runs:
124123 mkdir -p /tmp/rootfs/data/vendor/iris_test_app/input
125124 mkdir -p /tmp/rootfs/data/vendor/iris_test_app/output
126125
127- echo "📥 Copying iris-test- app payload from workspace..."
126+ echo "📥 Copying IRIS app payload from workspace..."
128127 cp -a "${WORKSPACE}/v4l-video-test-app/build/." /tmp/rootfs/data/vendor/iris_test_app/
129128
129+ echo "📥 Copying video tarball into rootfs (no extraction)..."
130+ cp -a "${WORKSPACE}/downloads/video_clips_iris.tar.gz" /tmp/rootfs/data/vendor/iris_test_app/
131+
130132 echo "🔍 Verifying injected files..."
131133 ls -larth /tmp/rootfs/data/vendor/iris_test_app
134+ ls -larth /tmp/rootfs/data/vendor/iris_test_app/input
132135
133136 echo "📤 Syncing changes..."
134137 sync
Original file line number Diff line number Diff line change 9292 echo "✅ Download complete"
9393 ls -la "${{ github.workspace }}/v4l-video-test-app/build/"
9494
95+ - name : Download the video-contents for testing
96+ shell : bash
97+ env :
98+ WORKSPACE : ${{ github.workspace }}
99+ run : |
100+ set -euo pipefail
101+ mkdir -p "${{ github.workspace }}/downloads"
102+ echo "Downloading the video-content files"
103+ wget -q \
104+ "https://github.com/qualcomm-linux/qcom-linux-testkit/releases/download/IRIS-Video-Files-v1.0/video_clips_iris.tar.gz" \
105+ -O "${{ github.workspace }}/downloads/video_clips_iris.tar.gz"
106+
107+ [ -f "$WORKSPACE/downloads/video_clips_iris.tar.gz" ] || {
108+ echo "❌ Failed to download video_clips_iris.tar.gz"
109+ exit 1
110+ }
111+
112+ ls -la "${{ github.workspace }}/downloads/"
113+
95114 - name : Inject Iris test app to rootfs
96115 uses : qualcomm-linux/video-driver/.github/actions/inject@meta-qcom_full-build
97116 with :
@@ -139,7 +158,7 @@ jobs:
139158
140159 echo "✅ Tarball created: $tarball"
141160
142- - name : Upload artifacts to S3
161+ - name :
143162 id : upload-artifacts
144163 uses : qualcomm-linux/video-driver/.github/actions/aws_s3_helper@meta-qcom_full-build
145164 with :
You can’t perform that action at this time.
0 commit comments