Jenkins - Sample (#168)

Test - Add sample to test
This commit is contained in:
Kiriti Gowda
2024-01-10 19:09:53 -08:00
committed by GitHub
orang tua 69fb224027
melakukan b7ad5d91d7
+5
Melihat File
@@ -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)