Update Workflow Inputs, Runner, and PR Validation Process (#11501)
* update check-artifact runner label to Shire * update github.event.inputs to inputs * update PR template
This commit is contained in:
parent
f84ca99b9f
commit
932ef78131
8 changed files with 21 additions and 21 deletions
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
### 4. How to test?
|
### 4. How to test?
|
||||||
- [ ] N/A
|
- [ ] N/A
|
||||||
- [ ] Unit test: Please manually trigger the PR Validation [here](https://github.com/intel-analytics/ipex-llm-workflow/actions/workflows/llm-PR-validation.yml) by inputting the full commit ID (SHA value) of your last commit (e.g., `a1b2c3d4e5f6g7h8i9j0`). And paste your action link here once it has been successfully finished.
|
- [ ] Unit test: Please manually trigger the PR Validation [here](https://github.com/intel-analytics/ipex-llm-workflow/actions/workflows/llm-PR-validation.yml) by inputting the PR number (e.g., `1234`). And paste your action link here once it has been successfully finished.
|
||||||
- [ ] Application test
|
- [ ] Application test
|
||||||
- [ ] Document test
|
- [ ] Document test
|
||||||
- [ ] ...
|
- [ ] ...
|
||||||
|
|
|
||||||
12
.github/workflows/llm-binary-build.yml
vendored
12
.github/workflows/llm-binary-build.yml
vendored
|
|
@ -48,7 +48,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check-linux-avxvnni-artifact:
|
check-linux-avxvnni-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Linux')}}
|
if: ${{contains(inputs.platform, 'Linux')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -116,7 +116,7 @@ jobs:
|
||||||
|
|
||||||
check-linux-avx512-artifact:
|
check-linux-avx512-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Linux')}}
|
if: ${{contains(inputs.platform, 'Linux')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -218,7 +218,7 @@ jobs:
|
||||||
|
|
||||||
check-linux-amx-artifact:
|
check-linux-amx-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Linux')}}
|
if: ${{contains(inputs.platform, 'Linux')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -278,7 +278,7 @@ jobs:
|
||||||
|
|
||||||
check-windows-avx2-artifact:
|
check-windows-avx2-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Windows')}}
|
if: ${{contains(inputs.platform, 'Windows')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -323,7 +323,7 @@ jobs:
|
||||||
|
|
||||||
check-windows-avx-vnni-artifact:
|
check-windows-avx-vnni-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Windows')}}
|
if: ${{contains(inputs.platform, 'Windows')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -388,7 +388,7 @@ jobs:
|
||||||
|
|
||||||
check-windows-avx-artifact:
|
check-windows-avx-artifact:
|
||||||
if: ${{contains(inputs.platform, 'Windows')}}
|
if: ${{contains(inputs.platform, 'Windows')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: [Shire]
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
6
.github/workflows/llm-nightly-test.yml
vendored
6
.github/workflows/llm-nightly-test.yml
vendored
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'intel-analytics/ipex-llm'
|
repository: 'intel-analytics/ipex-llm'
|
||||||
ref: ${{ github.event.inputs.checkout-ref }}
|
ref: ${{ inputs.checkout-ref }}
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -118,9 +118,9 @@ jobs:
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
uses: ./.github/workflows/llm_unit_tests.yml
|
uses: ./.github/workflows/llm_unit_tests.yml
|
||||||
with:
|
with:
|
||||||
checkout-ref: ${{ github.event.inputs.checkout-ref }}
|
checkout-ref: ${{ inputs.checkout-ref }}
|
||||||
llm-example-test:
|
llm-example-test:
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
uses: ./.github/workflows/llm_example_tests.yml
|
uses: ./.github/workflows/llm_example_tests.yml
|
||||||
with:
|
with:
|
||||||
checkout-ref: ${{ github.event.inputs.checkout-ref }}
|
checkout-ref: ${{ inputs.checkout-ref }}
|
||||||
|
|
|
||||||
2
.github/workflows/llm_example_tests.yml
vendored
2
.github/workflows/llm_example_tests.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # actions/checkout@v2
|
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: 'intel-analytics/ipex-llm'
|
repository: 'intel-analytics/ipex-llm'
|
||||||
ref: ${{ github.event.inputs.checkout-ref }}
|
ref: ${{ inputs.checkout-ref }}
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
8
.github/workflows/llm_performance_tests.yml
vendored
8
.github/workflows/llm_performance_tests.yml
vendored
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
platform: ${{ (github.event_name == 'workflow_dispatch' && (inputs.checkout-ref != 'main')) && 'Windows,Linux' || 'Dummy' }}
|
platform: ${{ (github.event_name == 'workflow_dispatch' && (inputs.checkout-ref != 'main')) && 'Windows,Linux' || 'Dummy' }}
|
||||||
|
|
||||||
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 ) }} # please comment it for PR tests
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -350,7 +350,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 ) }} # please comment it for PR tests
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -428,7 +428,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 ) }} # please comment it for PR tests
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
@ -509,7 +509,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 ) }} # please comment it for PR tests
|
||||||
needs: llm-cpp-build
|
needs: llm-cpp-build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
4
.github/workflows/llm_unit_tests.yml
vendored
4
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -118,7 +118,7 @@ jobs:
|
||||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'intel-analytics/ipex-llm'
|
repository: 'intel-analytics/ipex-llm'
|
||||||
ref: ${{ github.event.inputs.checkout-ref }}
|
ref: ${{ inputs.checkout-ref }}
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -277,7 +277,7 @@ jobs:
|
||||||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'intel-analytics/ipex-llm'
|
repository: 'intel-analytics/ipex-llm'
|
||||||
ref: ${{ github.event.inputs.checkout-ref }}
|
ref: ${{ inputs.checkout-ref }}
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/manually_build.yml
vendored
2
.github/workflows/manually_build.yml
vendored
|
|
@ -31,7 +31,7 @@ on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
checkout-ref:
|
checkout-ref:
|
||||||
description: 'commit id (SHA-1 hash)'
|
description: 'ref for checking out, including branch, tag or SHA'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
artifact:
|
artifact:
|
||||||
|
|
|
||||||
6
.github/workflows/release-pypi.yml
vendored
6
.github/workflows/release-pypi.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: 'intel-analytics/ipex-llm'
|
repository: 'intel-analytics/ipex-llm'
|
||||||
ref: ${{ github.event.inputs.checkout-ref }}
|
ref: ${{ inputs.checkout-ref }}
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
@ -58,12 +58,12 @@ jobs:
|
||||||
|
|
||||||
- name: set release version
|
- name: set release version
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.event.inputs.schedule-event }}" == "true" ]]; then
|
if [[ "${{ inputs.schedule-event }}" == "true" ]]; then
|
||||||
export TIMESTAMP=`date '+%Y%m%d'`
|
export TIMESTAMP=`date '+%Y%m%d'`
|
||||||
export PYPI_VERSION=2.1.0
|
export PYPI_VERSION=2.1.0
|
||||||
export RELEASE_VERSION=${PYPI_VERSION}b${TIMESTAMP}
|
export RELEASE_VERSION=${PYPI_VERSION}b${TIMESTAMP}
|
||||||
else
|
else
|
||||||
export RELEASE_VERSION=${{ github.event.inputs.release-version }}
|
export RELEASE_VERSION=${{ inputs.release-version }}
|
||||||
fi
|
fi
|
||||||
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
|
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue