@@ -172,14 +172,14 @@ jobs:
172172
173173 multistream-sample :
174174 name : Multistream sample on Ubuntu 22.04
175- runs-on : ubuntu-22.04
175+ runs-on : ubuntu-latest
176+ container : public.ecr.aws/ubuntu/ubuntu:22.04_stable
176177 timeout-minutes : 30
177178
178179 env :
179180 AWS_KVS_LOG_LEVEL : 2
180181 KVS_DEBUG_DUMP_DATA_FILE_DIR : ${{ github.workspace }}/build/debug_output
181182 GST_PLUGIN_PATH : ${{ github.workspace }}/build
182- DEBIAN_FRONTEND : noninteractive
183183 KVS_STREAM_NAME_BASE : demo-stream-producer-cpp-ubuntu-22.04-ci-kvs_gstreamer_multistream_sample
184184
185185 permissions :
@@ -192,19 +192,24 @@ jobs:
192192
193193 - name : Install dependencies
194194 run : |
195- sudo apt-get update
196- sudo apt-get install -y git cmake build-essential pkg-config libssl-dev libcurl4-openssl-dev \
195+ apt-get update
196+ apt-get install -y git cmake build-essential pkg-config libssl-dev libcurl4-openssl-dev \
197197 liblog4cplus-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
198198 gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-bad gstreamer1.0-plugins-good \
199199 gstreamer1.0-plugins-ugly gstreamer1.0-tools curl mkvtoolnix libgstrtspserver-1.0
200200
201201 - name : Build GST RTSP Server Test Launch Sample
202202 run : |
203- git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git --single-branch -b 1.22
204- cd gstreamer/subprojects/gst-rtsp-server/examples
203+ set -x
204+ git clone --no-checkout --filter=blob:none --depth=1 -b 1.22 https://gitlab.freedesktop.org/gstreamer/gstreamer.git
205+ cd gstreamer
206+ git sparse-checkout init cone
207+ git sparse-checkout set "subprojects/gst-rtsp-server/examples/test-launch.c"
208+ git checkout
209+ cd subprojects/gst-rtsp-server/examples
205210 gcc -o test-launch test-launch.c `pkg-config --cflags --libs gstreamer-rtsp-server-1.0`
206- mv test-launch ${{ github.workspace }}
207- cd ${{ github.workspace }}
211+ mv ./ test-launch $GITHUB_WORKSPACE
212+ cd $GITHUB_WORKSPACE
208213 rm -rf gstreamer
209214
210215 - name : Build samples
0 commit comments