Skip to content

Commit

Permalink
#0: test format
Browse files Browse the repository at this point in the history
  • Loading branch information
TT-billteng committed Sep 27, 2024
1 parent f33d68f commit eb40ca3
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/test-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ on:

run-name: ${{ inputs.description }}
jobs:
setup:
name: Setup runner labels for deploy
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
outputs:
deployrunner: ${{ steps.step1.outputs.deployrunner }}
steps:
- name: Set runs-on for deploy
id: step1
run: |
local_var="'["${{ inputs.hw-config }}", "${{ inputs.runner-label }}"]'"
echo "deployrunner=$local_var" >> $GITHUB_OUTPUT
# build-artifact:
# uses: ./.github/workflows/build-artifact.yaml
# with:
Expand All @@ -56,17 +68,15 @@ jobs:
# tracy: ${{ inputs.tracy }}
# secrets: inherit
test-dispatch:
needs: setup
# needs: build-artifact
timeout-minutes: 1440
env:
TT_METAL_ENV: ${{ vars.TT_METAL_ENV }}
ARCH_NAME: ${{ inputs.arch }}
LD_LIBRARY_PATH: ${{ github.workspace }}/build/lib
environment: dev
runs-on:
- ${{ inputs.runner-label }}
# ${{ format(''["{0}", "{1}"]'', inputs.runner-label, inputs.hw-config ) }}
- ${{ inputs.hw-config }}
runs-on: ${{ fromJSON(needs.setup.outputs.deployrunner) }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Ensure weka mount is active
Expand Down

0 comments on commit eb40ca3

Please sign in to comment.