Uplift third_party/tt-mlir to 8944ab53a6c942c3e30d21b4275a087c26e712f3 2025-02-19 #540
This file contains 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: On PR | |
on: | |
workflow_dispatch: | |
inputs: | |
mlir_override: | |
description: 'Git SHA of commit in tenstorrent/tt-mlir' | |
required: false | |
type: string | |
pull_request: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pre-commit: | |
uses: ./.github/workflows/pre-commit.yml | |
secrets: inherit | |
spdx: | |
uses: ./.github/workflows/spdx.yml | |
secrets: inherit | |
build-and-test: | |
needs: [pre-commit, spdx] | |
uses: ./.github/workflows/build-and-test.yml | |
secrets: inherit | |
with: | |
mlir_override: ${{ inputs.mlir_override }} | |
test_mark: 'push' | |
check-all-green: | |
if: always() | |
needs: | |
- pre-commit | |
- spdx | |
- build-and-test | |
runs-on: Ubuntu-latest | |
steps: | |
- name: Check if the needed jobs succeeded or failed | |
uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |