Skip to content

Commit

Permalink
#0: testing new build_artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
vtangTT committed Apr 30, 2024
1 parent f7fdfe2 commit 48e1566
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 42 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run pre/post regression tests
timeout-minutes: 15
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
run: |
CONFIG=ci cmake -B build
cmake --build build --target tests -- -j`nproc`
cmake --install build --component tt_build_artifacts
cmake --build build --target metal-install
- name: 'Tar files'
run: tar -cvf ttm_${{ matrix.arch }}.tar build/hw build/lib build/programming_examples build/test
run: tar -cvf ttm_${{ matrix.arch }}.tar build/hw build/lib tt_eager/tt_lib/*.so ttnn/ttnn/*.so build/programming_examples build/test
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/cpp-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 15
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/fast-dispatch-build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 45
Expand Down Expand Up @@ -92,10 +89,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Build Docs
timeout-minutes: 15
Expand Down Expand Up @@ -130,10 +124,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: multi-queue-single-device
timeout-minutes: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.test-group.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.test-group.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.test-group.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run frequent reg tests scripts
timeout-minutes: 40
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/full-regressions-and-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run frequent reg tests scripts
timeout-minutes: 210
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/models-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 45
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/perf-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run performance regressions
timeout-minutes: 60
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ttnn-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ jobs:
with:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: |
tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
cmake -B build
cmake --install build --component tt_pybinds
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: ${{ matrix.test-group.name }} tests
timeout-minutes: 45
Expand Down

0 comments on commit 48e1566

Please sign in to comment.