Add tt_device API docs and docs infrastructure #3
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
name: On Push | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-all: | |
secrets: inherit | |
strategy: | |
fail-fast: false | |
matrix: | |
test-group: [ | |
{ arch: grayskull }, | |
{ arch: wormhole_b0 }, | |
{ arch: blackhole }, | |
] | |
uses: ./.github/workflows/build-target.yml | |
with: | |
arch: ${{ matrix.test-group.arch }} | |
timeout: 10 | |
build-target: umd_device | |
build-tests: | |
secrets: inherit | |
strategy: | |
fail-fast: false | |
matrix: | |
test-group: [ | |
# Enable once we have functional cards with specified architecture. | |
# { arch: grayskull }, | |
{ arch: wormhole_b0 }, | |
# { arch: blackhole }, | |
] | |
uses: ./.github/workflows/build-target.yml | |
with: | |
arch: ${{ matrix.test-group.arch }} | |
timeout: 10 | |
build-target: umd_tests | |
upload-artifacts: true | |
test-all: | |
secrets: inherit | |
needs: build-tests | |
strategy: | |
fail-fast: false | |
matrix: | |
test-group: [ | |
# Enable once we have functional cards. | |
# { arch: grayskull, card: e75 }, | |
# { arch: grayskull, card: e150 }, | |
# { arch: grayskull, card: e300 }, | |
{ arch: wormhole_b0, card: n150, timeout: 5 }, | |
{ arch: wormhole_b0, card: n300, timeout: 15 }, | |
# { arch: blackhole }, | |
] | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
arch: ${{ matrix.test-group.arch }} | |
card: ${{ matrix.test-group.card }} | |
timeout: ${{ matrix.test-group.timeout }} |