Skip to content

Commit

Permalink
#0: split single/TG/TGG pipeline select workflow into 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TT-billteng committed Oct 3, 2024
1 parent 12137a3 commit eec78d8
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 55 deletions.
81 changes: 81 additions & 0 deletions .github/workflows/pipeline-select-galaxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: "(TG/TGG) Choose your pipeline"

on:
workflow_dispatch:
inputs:
build-type:
required: false
type: choice
options:
- Release
- Debug
- RelWithDebInfo
- CI
default: "Release"
build-with-tracy:
required: false
type: boolean
default: false
tgg-unit:
required: false
type: boolean
default: false
tgg-frequent:
required: false
type: boolean
default: false
tgg-model-perf:
required: false
type: boolean
default: false
tg-unit:
required: false
type: boolean
default: false
tg-frequent:
required: false
type: boolean
default: false
tg-model-perf:
required: false
type: boolean
default: false

run-name: ${{ inputs.description }}
jobs:
build-artifact:
uses: ./.github/workflows/build-artifact.yaml
with:
build-type: ${{ inputs.build-type }}
tracy: ${{ inputs.build-with-tracy }}
secrets: inherit
tgg-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-unit-tests-impl.yaml
if: ${{ inputs.tgg-unit }}
tgg-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-frequent-tests-impl.yaml
if: ${{ inputs.tgg-frequent }}
tgg-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-model-perf-tests-impl.yaml
if: ${{ inputs.tgg-model-perf }}
tg-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-unit-tests-impl.yaml
if: ${{ inputs.tg-unit }}
tg-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-frequent-tests-impl.yaml
if: ${{ inputs.tg-frequent }}
tg-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-model-perf-tests-impl.yaml
if: ${{ inputs.tg-model-perf }}
56 changes: 1 addition & 55 deletions .github/workflows/pipeline-select.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "(Single/TG/TGG) Choose your pipeline"
name: "(Single) Choose your pipeline"

on:
workflow_dispatch:
Expand Down Expand Up @@ -33,30 +33,6 @@ on:
required: false
type: boolean
default: false
tgg-unit:
required: false
type: boolean
default: false
tgg-frequent:
required: false
type: boolean
default: false
tgg-model-perf:
required: false
type: boolean
default: false
tg-unit:
required: false
type: boolean
default: false
tg-frequent:
required: false
type: boolean
default: false
tg-model-perf:
required: false
type: boolean
default: false

run-name: ${{ inputs.description }}
jobs:
Expand Down Expand Up @@ -86,33 +62,3 @@ jobs:
secrets: inherit
uses: ./.github/workflows/fast-dispatch-full-regressions-and-models-impl.yaml
if: ${{ inputs.single-card-nightly }}
tgg-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-unit-tests-impl.yaml
if: ${{ inputs.tgg-unit }}
tgg-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-frequent-tests-impl.yaml
if: ${{ inputs.tgg-frequent }}
tgg-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tgg-model-perf-tests-impl.yaml
if: ${{ inputs.tgg-model-perf }}
tg-unit-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-unit-tests-impl.yaml
if: ${{ inputs.tg-unit }}
tg-frequent-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-frequent-tests-impl.yaml
if: ${{ inputs.tg-frequent }}
tg-model-perf-tests:
needs: build-artifact
secrets: inherit
uses: ./.github/workflows/tg-model-perf-tests-impl.yaml
if: ${{ inputs.tg-model-perf }}

0 comments on commit eec78d8

Please sign in to comment.