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
75 lines
2.8 KiB
YAML
75 lines
2.8 KiB
YAML
name: "rocjitsu-corpus-translation-comment"
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["rocjitsu-test-corpus"]
|
|
types: [completed]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_repository.id }}-${{ github.event.workflow_run.head_branch }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
comment:
|
|
if: github.event.workflow_run.event == 'pull_request'
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
# This job has a write token. Check out only trusted develop content;
|
|
# candidate data is downloaded separately and is never executed.
|
|
- name: Checkout trusted comparison helper
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
ref: develop
|
|
sparse-checkout: |
|
|
.github/scripts
|
|
emulation/rocjitsu/tests/corpus
|
|
|
|
- name: Resolve comparison inputs
|
|
id: plan
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
python3 .github/scripts/rocjitsu_corpus_translation_comment.py plan \
|
|
--event "${GITHUB_EVENT_PATH}" \
|
|
--output "${GITHUB_OUTPUT}"
|
|
|
|
- name: Download PR gfx1250 B0-to-A0 SHA pairs
|
|
if: steps.plan.outputs.ready == 'true'
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
with:
|
|
name: gfx1250-b0-a0-sha-pairs-candidate
|
|
path: ${{ github.workspace }}/candidate
|
|
github-token: ${{ github.token }}
|
|
repository: ${{ github.repository }}
|
|
run-id: ${{ steps.plan.outputs.candidate-run-id }}
|
|
|
|
- name: Download develop gfx1250 B0-to-A0 baseline
|
|
if: steps.plan.outputs.baseline-found == 'true'
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
with:
|
|
name: gfx1250-b0-a0-sha-pairs
|
|
path: ${{ github.workspace }}/baseline
|
|
github-token: ${{ github.token }}
|
|
repository: ${{ github.repository }}
|
|
run-id: ${{ steps.plan.outputs.baseline-run-id }}
|
|
|
|
- name: Update PR translation comment
|
|
if: steps.plan.outputs.ready == 'true'
|
|
env:
|
|
BASELINE_FOUND: ${{ steps.plan.outputs.baseline-found }}
|
|
CANDIDATE_HEAD_SHA: ${{ steps.plan.outputs.candidate-head-sha }}
|
|
GH_TOKEN: ${{ github.token }}
|
|
PR_NUMBER: ${{ steps.plan.outputs.pull-number }}
|
|
SOURCE_RUN_ID: ${{ steps.plan.outputs.candidate-run-id }}
|
|
run: |
|
|
python3 .github/scripts/rocjitsu_corpus_translation_comment.py comment \
|
|
--candidate "${GITHUB_WORKSPACE}/candidate/gfx1250-b0-a0-sha-pairs.json" \
|
|
--baseline "${GITHUB_WORKSPACE}/baseline/gfx1250-b0-a0-sha-pairs.json" \
|
|
--comparison-tool \
|
|
emulation/rocjitsu/tests/corpus/record-gfx1250-dbt-sha-pairs.py
|