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
106 lines
3.1 KiB
YAML
106 lines
3.1 KiB
YAML
name: CI - Windows
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
artifact_group:
|
|
type: string
|
|
amdgpu_families:
|
|
type: string
|
|
build_variant_label:
|
|
type: string
|
|
build_variant_cmake_preset:
|
|
type: string
|
|
build_variant_suffix:
|
|
type: string
|
|
test_labels:
|
|
type: string
|
|
artifact_run_id:
|
|
type: string
|
|
test_runs_on:
|
|
type: string
|
|
benchmark_runs_on:
|
|
type: string
|
|
default: ""
|
|
expect_failure:
|
|
type: boolean
|
|
use_prebuilt_artifacts:
|
|
type: string
|
|
rocm_package_version:
|
|
type: string
|
|
test_type:
|
|
type: string
|
|
sanity_check_only_for_family:
|
|
type: boolean
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build_windows_artifacts:
|
|
name: Build Artifacts
|
|
if: ${{ inputs.use_prebuilt_artifacts == 'false' }}
|
|
uses: ./.github/workflows/build_windows_artifacts.yml
|
|
secrets: inherit
|
|
with:
|
|
artifact_group: ${{ inputs.artifact_group }}
|
|
amdgpu_families: ${{ inputs.amdgpu_families }}
|
|
build_variant_label: ${{ inputs.build_variant_label }}
|
|
build_variant_cmake_preset: ${{ inputs.build_variant_cmake_preset }}
|
|
build_variant_suffix: ${{ inputs.build_variant_suffix }}
|
|
package_version: ${{ inputs.rocm_package_version }}
|
|
expect_failure: ${{ inputs.expect_failure }}
|
|
test_type: ${{ inputs.test_type }}
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
|
|
test_windows_benchmarks:
|
|
needs: [build_windows_artifacts]
|
|
name: Test Windows Benchmarks
|
|
# Run benchmarks if:
|
|
# - Build succeeded (or using prebuilt artifacts)
|
|
# - Not expecting failure
|
|
# - Benchmark runner is available (benchmark_runs_on is set)
|
|
if: >-
|
|
${{
|
|
!failure() &&
|
|
!cancelled() &&
|
|
(
|
|
inputs.use_prebuilt_artifacts == 'false' ||
|
|
inputs.use_prebuilt_artifacts == 'true'
|
|
) &&
|
|
inputs.expect_failure == false &&
|
|
inputs.benchmark_runs_on != ''
|
|
}}
|
|
uses: ./.github/workflows/test_benchmarks.yml
|
|
secrets: inherit
|
|
with:
|
|
artifact_group: ${{ inputs.artifact_group }}
|
|
amdgpu_families: ${{ inputs.amdgpu_families }}
|
|
test_runs_on: ${{ inputs.benchmark_runs_on }}
|
|
artifact_run_id: ${{ inputs.artifact_run_id }}
|
|
|
|
|
|
build_windows_python_packages:
|
|
needs: [build_windows_artifacts]
|
|
name: Build Python
|
|
# If the dependent job failed/cancelled, this job will not be run
|
|
# The use_prebuilt_artifacts "or" statement ensures that tests will run if
|
|
# previous build step is run or skipped.concurrency.
|
|
if: >-
|
|
${{
|
|
!failure() &&
|
|
!cancelled() &&
|
|
(
|
|
inputs.use_prebuilt_artifacts == 'false' ||
|
|
inputs.use_prebuilt_artifacts == 'true'
|
|
) &&
|
|
inputs.expect_failure == false
|
|
}}
|
|
uses: ./.github/workflows/build_windows_python_packages.yml
|
|
with:
|
|
artifact_run_id: "${{ inputs.artifact_run_id != '' && inputs.artifact_run_id || github.run_id }}"
|
|
artifact_group: ${{ inputs.artifact_group }}
|
|
package_version: ${{ inputs.rocm_package_version }}
|