-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#7063: Use Sentry command and see if it would work
- Loading branch information
1 parent
21eb05e
commit 0666dee
Showing
2 changed files
with
17 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,25 +37,21 @@ jobs: | |
name: TTMetal_build_${{ matrix.runner-info.arch }} | ||
- name: Extract files | ||
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar | ||
- name: "Use Git Cache" | ||
id: cache-pip | ||
uses: actions/setup-python@v5 | ||
- name: "Use Sentry Git Cache" | ||
uses: getsentry/[email protected] | ||
id: venv | ||
with: | ||
path: ./.env/ # | ||
python-version: '3.8' | ||
cache: 'pip' | ||
python-version: 3.8 | ||
cache-dependency-path: | | ||
tt_metal/python_env/requirements-dev.txt | ||
pyproject.toml | ||
- run: python -m venv ./.env && . ./.env/bin/activate && | ||
pip install -r tt_metal/python_env/requirements-dev.txt | ||
if: steps.cache-pip.outputs.cache-hit != 'true' | ||
- if: ${{ steps.cache-pip.outputs.cache-hit == 'true' }} | ||
install-cmd: pip install -r tt_metal/python_env/requirements-dev.txt | ||
- if: ${{ steps.venv.outputs.cache-hit == 'true' }} | ||
name: List the state of Python modules | ||
continue-on-error: true | ||
run: pip freeze | ||
- name: Run pre/post regression tests | ||
timeout-minutes: 15 | ||
run: | | ||
source ./.env/bin/activate | ||
source ./.venv/bin/activate | ||
./tests/scripts/run_tests.sh --tt-arch $ARCH_NAME --pipeline-type post_commit --dispatch-mode slow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,19 +21,16 @@ jobs: | |
- name: Set up dynamic env vars for build | ||
run: | | ||
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV | ||
- name: "Use Git Cache" | ||
id: cache-pip | ||
uses: actions/setup-python@v5 | ||
with: | ||
path: ./.env/ # | ||
python-version: '3.8' | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
tt_metal/python_env/requirements-dev.txt | ||
pyproject.toml | ||
- run: python -m venv ./.env && . ./.env/bin/activate && | ||
pip install -r tt_metal/python_env/requirements-dev.txt | ||
if: steps.cache-pip.outputs.cache-hit != 'true' | ||
- name: "Use Sentry Git Cache" | ||
uses: getsentry/[email protected] | ||
id: venv | ||
with: | ||
python-version: 3.8 | ||
cache-dependency-path: | | ||
tt_metal/python_env/requirements-dev.txt | ||
pyproject.toml | ||
install-cmd: pip install -r tt_metal/python_env/requirements-dev.txt | ||
- name: Build tt-metal and libs | ||
run: | | ||
make build PYTHON_ENV=$HOME/python_env | ||
|