Uplift third_party/tt-mlir to e47d7642a5da917a34f8a19b8528f833065ff6d9 2025-02-14 #527
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) }} |