Jenkins - Sample (#168)

Test - Add sample to test

[ROCm/rocdecode commit: b7ad5d91d7]
Tá an tiomantas seo le fáil i:
Kiriti Gowda
2024-01-10 19:09:53 -08:00
tiomanta ag GitHub
tuismitheoir eeffcd41c4
tiomantas 35c2aff207
+5
Féach ar an gComhad
@@ -49,6 +49,11 @@ def runTestCommand (platform, project) {
echo Make Test
cd ${project.paths.project_build_prefix}/build/release
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/opt/rocm/lib${libLocation} make test ARGS="-VV --rerun-failed --output-on-failure"
cd ${project.paths.project_build_prefix}
mkdir -p rocdecode-sample && cd rocdecode-sample
cmake /opt/rocm/share/rocdecode/samples/videoDecode/
make -j8
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/opt/rocm/lib${libLocation} ./videodecode -i /opt/rocm/share/rocdecode/video/AMD_driving_virtual_20-H265.mp4
"""
platform.runCommand(this, command)