Skip to content

Commit

Permalink
Install wheel in venv
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-rkim committed Dec 9, 2024
1 parent 74c1f80 commit 874f9b0
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/all-post-commit-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
runner-label: ${{ matrix.test-group.runner-label }}
# Slow Dispatch Unit Tests
sd-unit-tests:
needs: build-artifact
needs: build-wheels
secrets: inherit
strategy:
fail-fast: false
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
runner-label: ${{ matrix.test-group.runner-label }}
# FD C++ Unit Tests
cpp-unit-tests:
needs: build-artifact
needs: build-wheels
secrets: inherit
strategy:
fail-fast: false
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/build-and-unit-tests-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

sd-unit-tests:
build-wheels:
needs: build-artifact
strategy:
matrix:
# Since pre-compiled builds only run on 20.04, we can only test on 20.04 for now
# The full 22.04 flow can be tested without precompiled
os: [ubuntu-20.04]
arch: [grayskull, wormhole_b0]
sd-unit-tests:
needs: build-wheels
secrets: inherit
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
-e TT_METAL_HOME=${{ github.workspace }}
-e TT_METAL_SLOW_DISPATCH_MODE=1
-e LD_LIBRARY_PATH=${{ github.workspace }}/build/lib
install_wheel: true
run_args: |
./tests/scripts/run_tests.sh --tt-arch ${{ inputs.arch }} --pipeline-type post_commit --dispatch-mode slow
- uses: ./.github/actions/slack-report
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/cpp-post-commit-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
cpp-unit-tests:
build-wheels:
needs: build-artifact
strategy:
matrix:
# Since pre-compiled builds only run on 20.04, we can only test on 20.04 for now
# The full 22.04 flow can be tested without precompiled
os: [ubuntu-20.04]
arch: [grayskull, wormhole_b0]
cpp-unit-tests:
needs: build-wheels
secrets: inherit
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cpp-post-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
-e TT_METAL_HOME=${{ github.workspace }}
-e ARCH_NAME=${{ inputs.arch }}
-e LD_LIBRARY_PATH=${{ github.workspace }}/build/lib
install_wheel: true
run_args: |
${{ matrix.test-group.cmd }}
- uses: ./.github/actions/slack-report
Expand Down

0 comments on commit 874f9b0

Please sign in to comment.