(TG/TGG) Choose your pipeline #198
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: "(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: | |
description: "TG model perf tests (requires tracy build)" | |
required: false | |
type: boolean | |
default: false | |
tg-nightly: | |
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 }} | |
build-wheel: true | |
secrets: inherit | |
tgg-unit-tests: | |
if: ${{ inputs.tgg-unit }} | |
needs: build-artifact | |
secrets: inherit | |
uses: ./.github/workflows/tgg-unit-tests-impl.yaml | |
with: | |
docker-image: ${{ needs.build-artifact.outputs.ci-build-docker-image }} | |
wheel-artifact-name: ${{ needs.build-artifact.outputs.wheel-artifact-name }} | |
tgg-frequent-tests: | |
if: ${{ inputs.tgg-frequent }} | |
needs: build-artifact | |
secrets: inherit | |
uses: ./.github/workflows/tgg-frequent-tests-impl.yaml | |
with: | |
docker-image: ${{ needs.build-artifact.outputs.ci-build-docker-image }} | |
wheel-artifact-name: ${{ needs.build-artifact.outputs.wheel-artifact-name }} | |
build-artifact-name: ${{ needs.build-artifact.outputs.build-artifact-name }} | |
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: | |
if: ${{ inputs.tg-frequent }} | |
needs: build-artifact | |
secrets: inherit | |
uses: ./.github/workflows/tg-frequent-tests-impl.yaml | |
with: | |
docker-image: ${{ needs.build-artifact.outputs.ci-build-docker-image }} | |
wheel-artifact-name: ${{ needs.build-artifact.outputs.wheel-artifact-name }} | |
build-artifact-name: ${{ needs.build-artifact.outputs.build-artifact-name }} | |
tg-model-perf-tests: | |
needs: build-artifact | |
secrets: inherit | |
uses: ./.github/workflows/tg-model-perf-tests-impl.yaml | |
if: ${{ inputs.tg-model-perf }} | |
tg-nightly-tests: | |
needs: build-artifact | |
if: ${{ inputs.tg-nightly }} | |
secrets: inherit | |
uses: ./.github/workflows/tg-nightly-tests-impl.yaml | |
with: | |
docker-image: ${{ needs.build-artifact.outputs.ci-build-docker-image }} | |
wheel-artifact-name: ${{ needs.build-artifact.outputs.wheel-artifact-name }} | |
build-artifact-name: ${{ needs.build-artifact.outputs.build-artifact-name }} |