Skip to content

Commit

Permalink
Add echo to confirm override sha
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Dec 17, 2024
1 parent a194ca3 commit 2e4e2c3
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ jobs:
branch_name=$(git rev-parse --abbrev-ref HEAD)
commit_sha=$(git rev-parse HEAD)
commit_title=$(git log -1 --pretty=%s)
echo "Branch name: $branch_name"
echo "Commit SHA: $commit_sha"
echo "Commit title: $commit_title"
echo "::notice::Using tt-mlir branch: $branch_name, commit: $commit_sha, title: $commit_title"
echo "### Using tt-mlir override \
branch: $branch_name \
commit: $commit_sha \
title: $commit_title" >> $GITHUB_STEP_SUMMARY
cd ../..
- name: ccache
Expand Down Expand Up @@ -163,6 +163,19 @@ jobs:
source env/activate
python forge/test/benchmark/benchmark.py -m mnist_linear -bs 1 -o forge-benchmark-e2e-mnist.json
- name: Confirm tt-mlir override
if: ${{ inputs.mlir_override }}
run: |
cd third_party/tt-mlir
branch_name=$(git rev-parse --abbrev-ref HEAD)
commit_sha=$(git rev-parse HEAD)
commit_title=$(git log -1 --pretty=%s)
echo "### Using tt-mlir override \
branch: $branch_name \
commit: $commit_sha \
title: $commit_title" >> $GITHUB_STEP_SUMMARY
cd ../..
- name: Upload Test Report
uses: actions/upload-artifact@v4
if: success() || failure()
Expand Down

0 comments on commit 2e4e2c3

Please sign in to comment.