Skip to content

Commit

Permalink
Add tt-torch to downstream checks (#1698)
Browse files Browse the repository at this point in the history
- During the uplift process trigger tt-torch and tt-forge-fe pipelines for specific version of mlir using override option.
- Use uplift mlir version to check if tt-torch and tt-forge-fe can pas when using it.
  • Loading branch information
vmilosevic authored Jan 6, 2025
1 parent 93dc48d commit dca29f4
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,24 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-test
if: github.event.pull_request.head.ref == 'uplift'
strategy:
matrix:
include:
- target-repo: 'tenstorrent/tt-forge-fe'
workflow-name: 'build-and-test.yml'
- target-repo: 'tenstorrent/tt-torch'
workflow-name: 'on-pr.yml'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TARGET_REPO: tenstorrent/tt-forge-fe
WORKFLOW_NAME: build-and-test.yml
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TARGET_REPO: ${{ matrix.target-repo }}
WORKFLOW_NAME: ${{ matrix.workflow-name }}
steps:
- name: Trigger ${{ env.TARGET_REPO }}
- name: Trigger ${{ env.TARGET_REPO }} tests
shell: bash
run: |
gh workflow run ${{ env.WORKFLOW_NAME }} \
--repo ${{ env.TARGET_REPO }} --ref main \
--field test_mark=push \
--field mlir_override=${{ github.event.pull_request.head.sha }}
gh run list --workflow=${{ env.WORKFLOW_NAME }} --repo ${{ env.TARGET_REPO }} --limit 1
echo "Triggered ${{ env.TARGET_REPO }}"
echo "### Triggered [${{ env.TARGET_REPO }}](https://github.com/${{ env.TARGET_REPO }}/actions/workflows/${{ env.WORKFLOW_NAME }}) :rocket:" >> $GITHUB_STEP_SUMMARY
echo "Triggered ${{ env.TARGET_REPO }} with tt-mlir ${{ github.event.pull_request.head.sha }}"
echo "### Triggered [${{ env.TARGET_REPO }}](https://github.com/${{ env.TARGET_REPO }}/actions/workflows/${{ env.WORKFLOW_NAME }}) with tt-mlir ${{ github.event.pull_request.head.sha }} :rocket:" >> $GITHUB_STEP_SUMMARY

0 comments on commit dca29f4

Please sign in to comment.