Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move UMD tests after build artifact #15120

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/all-post-commit-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
secrets: inherit
# UMD Unit Tests
umd-unit-tests:
needs: build-artifact
secrets: inherit
strategy:
fail-fast: false
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/umd-unit-tests-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ on:
workflow_dispatch:

jobs:
static-checks:
uses: ./.github/workflows/all-static-checks.yaml
secrets: inherit
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
secrets: inherit
umd-unit-tests:
needs: build-artifact
secrets: inherit
strategy:
fail-fast: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/umd-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ inputs.arch }}
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
LOGURU_LEVEL: INFO
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- name: Build UMD device and tests
run: |
cmake -B build -G Ninja -DTT_UMD_BUILD_TESTS=ON
cmake --build build --target umd_tests
- uses: ./.github/actions/prepare-metal-run
with:
arch: ${{ inputs.arch }}
- name: Run UMD unit tests
timeout-minutes: ${{ inputs.timeout }}
run: build/test/umd/${{ inputs.arch }}/unit_tests
Loading