Fixes for performance test triggering (#11481)

This commit is contained in:
Yuwen Hu 2024-07-01 18:39:54 +08:00 committed by GitHub
parent 6bdc562f4c
commit ca24794dd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,23 +50,23 @@ on:
arc: arc:
description: "If trigger performance test on Arc" description: "If trigger performance test on Arc"
required: false required: false
type: boolean type: string
default: true default: 'true'
spr: spr:
description: "If trigger performance test on SPR" description: "If trigger performance test on SPR"
required: false required: false
type: boolean type: string
default: true default: 'true'
core: core:
description: "If trigger performance test on Core" description: "If trigger performance test on Core"
required: false required: false
type: boolean type: string
default: true default: 'true'
igpu: igpu:
description: "If trigger performance test on iGPU" description: "If trigger performance test on iGPU"
required: false required: false
type: boolean type: string
default: true default: 'true'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
@ -74,7 +74,7 @@ jobs:
# uses: ./.github/workflows/llm-binary-build.yml # uses: ./.github/workflows/llm-binary-build.yml
llm-performance-test-on-arc: llm-performance-test-on-arc:
if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.arc ) || github.event.inputs.artifact == 'llm-performance-test-on-arc' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && (inputs.arc == 'true')) || github.event.inputs.artifact == 'llm-performance-test-on-arc' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests
# needs: llm-cpp-build # please uncomment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests
strategy: strategy:
fail-fast: false fail-fast: false
@ -339,7 +339,7 @@ jobs:
llm-performance-test-on-spr: llm-performance-test-on-spr:
if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.spr ) || github.event.inputs.artifact == 'llm-performance-test-on-spr' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && (inputs.spr == 'true')) || github.event.inputs.artifact == 'llm-performance-test-on-spr' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests
# needs: llm-cpp-build # please uncomment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests
strategy: strategy:
fail-fast: false fail-fast: false
@ -414,7 +414,7 @@ jobs:
done done
llm-performance-test-on-core: llm-performance-test-on-core:
if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.core ) || github.event.inputs.artifact == 'llm-performance-test-on-core' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && (inputs.core== 'true')) || github.event.inputs.artifact == 'llm-performance-test-on-core' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests
# needs: llm-cpp-build # please uncomment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests
strategy: strategy:
fail-fast: false fail-fast: false
@ -490,7 +490,7 @@ jobs:
fi fi
llm-performance-test-on-igpu: llm-performance-test-on-igpu:
if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.igpu ) || github.event.inputs.artifact == 'llm-performance-test-on-igpu' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && (inputs.igpu== 'true')) || github.event.inputs.artifact == 'llm-performance-test-on-igpu' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests
# needs: llm-cpp-build # please uncomment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests
strategy: strategy:
fail-fast: false fail-fast: false