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
93 lines
3.3 KiB
YAML
93 lines
3.3 KiB
YAML
# Copyright Advanced Micro Devices, Inc.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# This workflow is the entry point for multi-arch releases.
|
|
#
|
|
# For manual dev releases, trigger via workflow_dispatch on TheRock.
|
|
# For scheduled nightly releases, rockrel will call this via workflow_call
|
|
# (TODO: pass required inputs through to setup job explicitly as needed).
|
|
#
|
|
# If we want per-platform status badges, independent retryability, or
|
|
# isolation from cross-platform runner queue issues, we can switch to
|
|
# dispatching each platform job via workflow_dispatch. That will also
|
|
# let us have this pre-trigger job freeze commits/versions so re-runs use
|
|
# consistent values, see https://github.com/ROCm/TheRock/issues/1236.
|
|
|
|
name: Multi-Arch Release
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
release_type:
|
|
description: 'Release type: "dev", "nightly", or "prerelease".'
|
|
type: string
|
|
required: true
|
|
prerelease_version:
|
|
description: Prerelease version number such as '2'. This gets appended to the computed version after 'rc', like '7.10.0rc2'
|
|
type: string
|
|
default: ""
|
|
linux_amdgpu_families:
|
|
description: "Comma-separated list of Linux GPU families. Empty = all families."
|
|
type: string
|
|
default: ""
|
|
windows_amdgpu_families:
|
|
description: "Comma-separated list of Windows GPU families. Empty = all families."
|
|
type: string
|
|
default: ""
|
|
workflow_dispatch:
|
|
inputs:
|
|
release_type:
|
|
description: 'Release type: "dev", "nightly", or "prerelease". All developer-triggered jobs should use "dev"!'
|
|
type: choice
|
|
options:
|
|
- dev
|
|
- nightly
|
|
- prerelease
|
|
default: dev
|
|
prerelease_version:
|
|
description: Prerelease version number such as '2'. This gets appended to the computed version after 'rc', like '7.10.0rc2'
|
|
type: string
|
|
default: ""
|
|
linux_amdgpu_families:
|
|
description: "Comma-separated list of Linux GPU families. Empty = all families."
|
|
type: string
|
|
default: ""
|
|
windows_amdgpu_families:
|
|
description: "Comma-separated list of Windows GPU families. Empty = all families."
|
|
type: string
|
|
default: ""
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
run-name: >-
|
|
Multi-Arch Release (Linux ${{
|
|
inputs.linux_amdgpu_families || 'all families'
|
|
}}, ${{ inputs.release_type }})
|
|
|
|
jobs:
|
|
setup:
|
|
uses: ./.github/workflows/setup_multi_arch.yml
|
|
with:
|
|
build_variant: "release"
|
|
release_type: ${{ inputs.release_type }}
|
|
prerelease_version: ${{ inputs.prerelease_version }}
|
|
|
|
linux_release:
|
|
name: Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }}
|
|
needs: setup
|
|
if: ${{ needs.setup.outputs.linux_build_config != '' }}
|
|
uses: ./.github/workflows/multi_arch_release_linux.yml
|
|
secrets: inherit
|
|
with:
|
|
build_config: ${{ needs.setup.outputs.linux_build_config }}
|
|
rocm_package_version: ${{ needs.setup.outputs.rocm_package_version }}
|
|
test_type: ${{ needs.setup.outputs.test_type }}
|
|
release_type: ${{ inputs.release_type }}
|
|
permissions:
|
|
contents: read
|
|
actions: write # Added permission to trigger workflows
|
|
id-token: write # Added permission for AWS S3 upload
|
|
|
|
# TODO(#3334): multi_release_arch_windows.yml (and update run-name)
|