[rocprofiler-sdk][CI] install libva-amdgpu-dev in requirements CodeQL Job (#1038)

* install libva-amdgpu.

* Add rocprofiler-sdk-codeql.yml to paths

* Update rocprofiler-sdk-codeql.yml

* update requirements for rocm_release_compatibility job.

* address comments.

---------

Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com>
Co-authored-by: jbonnell-amd <jason.bonnell@amd.com>
This commit is contained in:
Venkateshwar Reddy Kandula
2025-09-22 12:17:03 -05:00
committed by GitHub
parent 9819e1cbfc
commit a4effb81a9
2 changed files with 13 additions and 1 deletions
@@ -9,12 +9,14 @@ on:
branches:
- develop
paths:
- '.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml'
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
- '!projects/rocprofiler-sdk/*.md'
pull_request:
paths:
- '.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml'
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
@@ -78,6 +80,10 @@ jobs:
cd projects/rocprofiler-sdk
git config --global --add safe.directory '*'
apt-get update
apt-get install -y wget
wget -N -P /tmp/ https://repo.radeon.com/amdgpu-install/7.0/ubuntu/jammy/amdgpu-install_7.0.70000-1_all.deb
apt-get install -y -o Dpkg::Options::="--force-confnew" /tmp/amdgpu-install_7.0.70000-1_all.deb
apt-get update
apt-get install -y build-essential cmake g++-11 g++-12 python3-pip libdw-dev libsqlite3-dev rccl-dev rccl-unittests rocjpeg-dev rocjpeg-test rocdecode-dev rocdecode-test
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12