From a97f979ec4ba7a1dacb305145c1679cdf79990d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=97=E9=B9=8F?= Date: Thu, 18 Dec 2025 17:14:18 +0800 Subject: [PATCH] [CI]Wheel package compilation (#288) Signed-off-by: princepride --- .github/workflows/build_wheel.yml | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/build_wheel.yml diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml new file mode 100644 index 000000000..f691c87a6 --- /dev/null +++ b/.github/workflows/build_wheel.yml @@ -0,0 +1,41 @@ +name: Build Wheel + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + 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@v4 + with: + name: vllm-omni-wheel-py${{ matrix.python-version }} + path: dist/*.whl