CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
83 lines
2.5 KiB
YAML
83 lines
2.5 KiB
YAML
name: TheRock CI for rocgdb
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- amd-staging
|
|
- amd-staging-rocgdb-*
|
|
pull_request:
|
|
branches:
|
|
- amd-staging
|
|
- amd-staging-rocgdb-*
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
setup:
|
|
runs-on: ubuntu-24.04
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
|
|
env:
|
|
BASE_REF: HEAD^
|
|
outputs:
|
|
enable_therock_ci: ${{ steps.configure.outputs.enable_therock_ci }}
|
|
steps:
|
|
- name: "Checking out repository"
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: "Configuring CI options"
|
|
id: configure
|
|
run: python .github/scripts/therock_configure_ci.py
|
|
|
|
therock-ci-linux:
|
|
name: TheRock CI Linux
|
|
needs: setup
|
|
if: ${{ needs.setup.outputs.enable_therock_ci == 'true' }}
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
amdgpu_family: [gfx94X-dcgpu]
|
|
uses: ./.github/workflows/therock-ci-linux.yml
|
|
secrets: inherit
|
|
with:
|
|
amdgpu_families: ${{ matrix.amdgpu_family }}
|
|
artifact_group: ${{ matrix.amdgpu_family }}
|
|
extra_cmake_options: >
|
|
-DTHEROCK_ENABLE_ALL=OFF
|
|
-DTHEROCK_BUILD_TESTING=ON
|
|
-DTHEROCK_ENABLE_DEBUG_TOOLS=ON
|
|
-DTHEROCK_SHARED_PYTHON_EXECUTABLES=/opt/python-shared/cp310-cp310/bin/python3;/opt/python-shared/cp311-cp311/bin/python3;/opt/python-shared/cp312-cp312/bin/python3;/opt/python-shared/cp313-cp313/bin/python3;/opt/python-shared/cp314-cp314/bin/python3
|
|
-DTHEROCK_DIST_PYTHON_EXECUTABLES=/opt/python/cp310-cp310/bin/python;/opt/python/cp311-cp311/bin/python;/opt/python/cp312-cp312/bin/python;/opt/python/cp313-cp313/bin/python
|
|
-DTHEROCK_USE_EXTERNAL_ROCGDB=ON
|
|
-DTHEROCK_ROCGDB_SOURCE_DIR=./rocgdb_under_test
|
|
|
|
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
|