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 8d7d30c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/test-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
runner-label:
required: false
type: string
default: "in-service"
default: '["in-service"]'
build-type:
required: false
type: choice
Expand All @@ -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=${{ inputs.runner-label }}" >> $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(inputs.runner-label) }}
steps:
- uses: tenstorrent-metal/metal-workflows/.github/actions/[email protected]
- name: Ensure weka mount is active
Expand Down

0 comments on commit 8d7d30c

Please sign in to comment.