mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 01:48:05 +00:00
# What does this PR do? It was referencing strong_typing which was removed in https://github.com/llamastack/llama-stack/pull/3944 ## Test Plan New CI build test. Signed-off-by: Sébastien Han <seb@redhat.com>
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
name: Python Package Build Test
|
|
|
|
run-name: Test building the llama-stack PyPI project
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- 'src/llama_stack_ui/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.12', '3.13']
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
activate-environment: true
|
|
version: 0.7.6
|
|
|
|
- name: Build Llama Stack API package
|
|
working-directory: src/llama_stack_api
|
|
run: uv build
|
|
|
|
- name: Build Llama Stack package
|
|
run: uv build
|
|
|
|
- name: Install Llama Stack package (with api stubs from local build)
|
|
run: |
|
|
uv pip install --find-links src/llama_stack_api/dist dist/*.whl
|
|
|
|
- name: Verify Llama Stack package
|
|
run: |
|
|
uv pip list
|
|
uv pip show llama-stack
|
|
command -v llama
|
|
llama stack list-apis
|
|
llama stack list-providers inference
|
|
llama stack list-deps starter
|