64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
name: Build Wheel
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'examples/**'
|
|
- 'apps/**'
|
|
- '.github/**'
|
|
- '.buildkite/**'
|
|
- '**.md'
|
|
- '*.yml'
|
|
- '.gitignore'
|
|
- '.gitattributes'
|
|
- 'LICENSE'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'examples/**'
|
|
- 'apps/**'
|
|
- '.github/**'
|
|
- '.buildkite/**'
|
|
- '*.yml'
|
|
- '**.md'
|
|
- '.gitignore'
|
|
- '.gitattributes'
|
|
- 'LICENSE'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install uv
|
|
run: |
|
|
pip install uv
|
|
|
|
- name: Build Wheel
|
|
env:
|
|
UV_SYSTEM_PYTHON: 1
|
|
run: |
|
|
bash scripts/build_wheel.sh --python python
|
|
|
|
- name: Upload Wheel Artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: vllm-omni-wheel-py${{ matrix.python-version }}
|
|
path: dist/*.whl
|