Skip to content

Commit

Permalink
#8535: use build-artifact in stress SD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ttmchiou committed May 15, 2024
1 parent 1ce74bb commit 00af539
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/stress-slow-dispatch-build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
- cron: "0 4 * * *"

jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit

stress-build-and-unit-tests:
needs: build-artifact
timeout-minutes: 1440
strategy:
# Do not fail-fast because we need to ensure all tests go to completion
Expand Down Expand Up @@ -34,10 +39,12 @@ jobs:
- name: Set up dyanmic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- name: Build tt-metal and libs
run: PYTHON_ENV_DIR=$(pwd)/build/python_env ./build_metal.sh
- name: Build tt-metal CPP tests
run: cmake --build build --target tests -- -j`nproc`
- uses: actions/download-artifact@v4
with:
name: TTMetal_build_${{ matrix.arch }}
- name: Extract files
run: tar -xvf ttm_${{ matrix.arch }}.tar
- uses: ./.github/actions/install-python-deps
- name: Run pre/post regression tests in a loop
run: |
source build/python_env/bin/activate
Expand Down

0 comments on commit 00af539

Please sign in to comment.