Skip to content

Commit

Permalink
#10800: Add GH action to add preliminary GH action reduce code fragility
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed Jul 30, 2024
1 parent e9ca7ee commit 737e4e4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 22 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cpp-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,9 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- uses: actions/download-artifact@v4
- uses: ./.github/actions/prepare-metal-run
with:
name: TTMetal_build_${{ inputs.arch }}
- name: Extract files
run: tar -xvf ttm_${{ inputs.arch }}.tar
- uses: ./.github/actions/install-python-deps
arch: ${{ inputs.arch }}
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 45
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

# FD Unit Tests
fast-dispatch-unit-tests:
needs: build-artifact
secrets: inherit
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/fast-dispatch-build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,9 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- uses: actions/download-artifact@v4
- uses: ./.github/actions/prepare-metal-run
with:
name: TTMetal_build_${{ inputs.arch }}
- name: Extract files
run: tar -xvf ttm_${{ inputs.arch }}.tar
- uses: ./.github/actions/install-python-deps
arch: ${{ inputs.arch }}
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 45
run: |
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/models-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- uses: actions/download-artifact@v4
with:
name: TTMetal_build_${{ inputs.arch }}
- name: Extract files
run: tar -xvf ttm_${{ inputs.arch }}.tar
- uses: ./.github/actions/install-python-deps
- uses: ./.github/actions/prepare-metal-run
- name: ${{ inputs.runner-label }} tests
timeout-minutes: 45
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ttnn-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,9 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- uses: actions/download-artifact@v4
- uses: ./.github/actions/prepare-metal-run
with:
name: TTMetal_build_${{ inputs.arch }}
- name: Extract files
run: tar -xvf ttm_${{ inputs.arch }}.tar
- uses: ./.github/actions/install-python-deps
arch: ${{ inputs.arch }}
- name: Set ttnn fast runtime if exists in config
if: ${{ matrix.test-group.fast_runtime_mode_off }}
run: |
Expand Down

0 comments on commit 737e4e4

Please sign in to comment.