Remove iommu warning in KVM env #932
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TheRock CI for rccl | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| types: | |
| - labeled | |
| - opened | |
| - synchronize | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| # A PR number if a pull request and otherwise the commit hash. This cancels | |
| # queued and in-progress runs for the same PR (presubmit) or commit | |
| # (postsubmit). The workflow name is prepended to avoid conflicts between | |
| # different workflows. | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| # The commit being checked out is the merge commit for a PR. Its first | |
| # parent will be the tip of the base branch. | |
| BASE_REF: HEAD^ | |
| outputs: | |
| enable_therock_ci: ${{ steps.configure.outputs.enable_therock_ci }} | |
| linux_package_targets: ${{ steps.configure_linux.outputs.package_targets }} | |
| steps: | |
| - name: "Checking out repository" | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| # We need the parent commit to do a diff | |
| fetch-depth: 2 | |
| - name: Checkout TheRock repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| repository: "ROCm/TheRock" | |
| path: TheRock | |
| ref: bfcaf6e0bcd4bfe3c21990f49bbccb7d2a087d5d # 2025-12-15 commit | |
| - name: "Configuring CI options" | |
| id: configure | |
| run: python .github/scripts/therock_configure_ci.py | |
| - name: Fetch Linux targets for build and test | |
| env: | |
| THEROCK_PACKAGE_PLATFORM: "linux" | |
| # TODO(geomin12): Allow dynamic values of AMDGPU_FAMILIES, with opt-in options | |
| AMDGPU_FAMILIES: "gfx94X, gfx950" | |
| # Variable comes from ROCm organization variable 'ROCM_THEROCK_TEST_RUNNERS' | |
| ROCM_THEROCK_TEST_RUNNERS: ${{ vars.ROCM_THEROCK_TEST_RUNNERS }} | |
| LOAD_TEST_RUNNERS_FROM_VAR: true | |
| id: configure_linux | |
| run: python ./TheRock/build_tools/github_actions/fetch_package_targets.py | |
| therock-ci-linux: | |
| name: TheRock CI Linux (${{ matrix.target_bundle.amdgpu_family }}) | |
| needs: setup | |
| if: ${{ needs.setup.outputs.enable_therock_ci == 'true' }} | |
| permissions: | |
| contents: read | |
| id-token: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target_bundle: ${{ fromJSON(needs.setup.outputs.linux_package_targets) }} | |
| uses: ./.github/workflows/therock-ci-linux.yml | |
| secrets: inherit | |
| with: | |
| amdgpu_families: ${{ matrix.target_bundle.amdgpu_family }} | |
| artifact_group: ${{ matrix.target_bundle.amdgpu_family }} | |
| test_runs_on: ${{ matrix.target_bundle.test_machine }} | |
| extra_cmake_options: > | |
| -DTHEROCK_ENABLE_ALL=OFF | |
| -DTHEROCK_BUILD_TESTING=ON | |
| -DTHEROCK_BUNDLE_SYSDEPS=ON | |
| -DTHEROCK_ENABLE_COMM_LIBS=ON | |
| -DTHEROCK_ENABLE_ROCPROFV3=ON | |
| -DTHEROCK_USE_EXTERNAL_RCCL=ON | |
| -DTHEROCK_USE_EXTERNAL_RCCL_TESTS=ON | |
| -DTHEROCK_RCCL_SOURCE_DIR=./rccl | |
| -DTHEROCK_RCCL_TESTS_SOURCE_DIR=./rccl-tests | |
| -DTHEROCK_ENABLE_MPI=ON | |
| therock_ci_summary: | |
| name: TheRock CI Summary | |
| if: always() | |
| needs: | |
| - setup | |
| - therock-ci-linux | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Output failed jobs | |
| run: | | |
| echo '${{ toJson(needs) }}' | |
| FAILED_JOBS="$(echo '${{ toJson(needs) }}' \ | |
| | jq --raw-output \ | |
| 'map_values(select(.result!="success" and .result!="skipped")) | keys | join(",")' \ | |
| )" | |
| if [[ "${FAILED_JOBS}" != "" ]]; then | |
| echo "The following jobs failed: ${FAILED_JOBS}" | |
| exit 1 | |
| fi |