# This Media Library CI pipeline is separate from TheRock CI for extended customer test cases name: Media Libs CI on: push: branches: [develop] paths: - 'projects/rocdecode/**' - 'projects/rocjpeg/**' - '.github/workflows/media-libs-ci.yml' - '.github/workflows/therock-media-test-packages.yml' - '!**/*.md' - '!**/*.rst' - '!**/*.rtf' - '!**/docs/**' - '!**/.readthedocs.yaml' pull_request: paths: - 'projects/rocdecode/**' - 'projects/rocjpeg/**' - '.github/workflows/media-libs-ci.yml' - '.github/workflows/therock-media-test-packages.yml' - '!**/*.md' - '!**/*.rst' - '!**/*.rtf' - '!**/docs/**' - '!**/.readthedocs.yaml' workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.sha }} cancel-in-progress: true permissions: contents: read jobs: setup: name: "Setup" runs-on: ubuntu-24.04 outputs: package_version: ${{ steps.rocm_package_version.outputs.rocm_package_version }} steps: - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: sparse-checkout: .github sparse-checkout-cone-mode: true fetch-depth: 2 - name: Checkout TheRock repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: repository: "ROCm/TheRock" path: TheRock ref: release/therock-10.0 - name: Set up Python uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: "3.12" - name: Install python dependencies run: | python -m pip install --upgrade pip pip install pydantic requests - name: Compute package version id: rocm_package_version run: | python TheRock/build_tools/compute_rocm_package_version.py --release-type=dev therock-ci-linux: name: Build Media Libs needs: setup permissions: contents: read id-token: write uses: ./.github/workflows/therock-ci-linux.yml secrets: inherit with: package_version: ${{ needs.setup.outputs.package_version }} cmake_options: > -DTHEROCK_ENABLE_CORE=ON -DTHEROCK_ENABLE_COMM_LIBS=OFF -DTHEROCK_ENABLE_DEBUG_TOOLS=OFF -DTHEROCK_ENABLE_MATH_LIBS=OFF -DTHEROCK_ENABLE_ML_LIBS=OFF -DTHEROCK_ENABLE_SYSDEPS_EXPAT=OFF -DTHEROCK_ENABLE_SYSDEPS_GMP=OFF -DTHEROCK_ENABLE_SYSDEPS_MPFR=OFF -DTHEROCK_ENABLE_SYSDEPS_NCURSES=OFF -DTHEROCK_ENABLE_SYSDEPS_LIBPCIACCESS=OFF -DTHEROCK_ENABLE_SYSDEPS_HWLOC=OFF -DTHEROCK_ENABLE_HIPIFY=OFF -DTHEROCK_ENABLE_FLATBUFFERS=OFF -DTHEROCK_ENABLE_FMT=OFF -DTHEROCK_ENABLE_NLOHMANN_JSON=OFF -DTHEROCK_ENABLE_SPDLOG=OFF -DTHEROCK_ENABLE_OPENMPI=OFF -DTHEROCK_ENABLE_CORE_HIPTESTS=OFF -DTHEROCK_ENABLE_OCL_RUNTIME=OFF -DTHEROCK_ENABLE_CORE_RUNTIME_TESTS=OFF -DTHEROCK_ENABLE_RDC=OFF -DTHEROCK_ENABLE_SPDLOG=OFF -DTHEROCK_ENABLE_AQLPROFILE=OFF -DTHEROCK_ENABLE_ROCPROFV3=OFF -DTHEROCK_ENABLE_ROCPROFILER_COMPUTE=OFF -DTHEROCK_ENABLE_ROCPROF_TRACE_DECODER_BINARY=OFF -DTHEROCK_ENABLE_SYSDEPS_AMD_MESA=ON -DTHEROCK_ENABLE_ROCDECODE=ON -DTHEROCK_ENABLE_ROCJPEG=ON projects_to_test: "" test_runs_on: "" therock-test-linux: name: "Test Media Libs" needs: [therock-ci-linux] uses: ./.github/workflows/therock-media-test-packages.yml with: amdgpu_families: "gfx94X-dcgpu" test_runs_on: "linux-gfx942-1gpu-ossci-rocm" platform: "linux"