Skip to content

Commit a704238

Browse files
mgoinbringlein
authored andcommitted
Run macos smoke test workflow on main commit (vllm-project#28752)
Signed-off-by: Michael Goin <mgoin64@gmail.com> Signed-off-by: mgoin <mgoin64@gmail.com>
1 parent bd8400f commit a704238

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/macos-smoke-test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: macOS Apple Silicon Smoke Test
22

33
on:
4+
push:
5+
branches:
6+
- main
47
workflow_dispatch: # Manual trigger
58

69
jobs:
@@ -19,13 +22,15 @@ jobs:
1922
pyproject.toml
2023
python-version: '3.12'
2124

22-
- name: Install dependencies
25+
- name: Create virtual environment
2326
run: |
24-
uv pip install -r requirements/cpu-build.txt
25-
uv pip install -r requirements/cpu.txt
27+
uv venv
28+
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
2629
27-
- name: Build vLLM
28-
run: uv pip install -v -e .
30+
- name: Install dependencies and build vLLM
31+
run: |
32+
uv pip install -r requirements/cpu.txt --index-strategy unsafe-best-match
33+
uv pip install -e .
2934
env:
3035
CMAKE_BUILD_PARALLEL_LEVEL: 4
3136

requirements/cpu-build.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ packaging>=24.2
44
setuptools>=77.0.3,<81.0.0
55
setuptools-scm>=8
66
--extra-index-url https://download.pytorch.org/whl/cpu
7-
torch==2.8.0+cpu; platform_machine == "x86_64"
8-
torch==2.8.0; platform_machine == "ppc64le" or platform_machine == "aarch64" or platform_system == "Darwin"
7+
torch==2.8.0+cpu; platform_machine == "x86_64" or platform_machine == "s390x"
8+
torch==2.9.0; platform_system == "Darwin"
9+
torch==2.8.0; platform_machine == "ppc64le" or platform_machine == "aarch64"
910
scons; platform_machine == "aarch64" # needed to build Arm Compute Library (ACL)
1011
wheel
1112
jinja2>=3.1.6

0 commit comments

Comments
 (0)