Test building the llama-stack PyPI project #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python Package Build Test | |
| run-name: Test building the llama-stack PyPI project | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '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@4959332f0f014c5280e7eac8b70c90cb574c9f9b # v6.6.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: true | |
| version: 0.7.6 | |
| - name: Build Llama Stack package | |
| run: | | |
| uv build | |
| - name: Install Llama Stack package | |
| run: | | |
| uv pip install dist/*.whl | |
| - name: Verify Llama Stack package | |
| run: | | |
| uv pip list | |
| uv pip show llama-stack | |
| command -v llama | |
| llama model prompt-format -m Llama3.2-90B-Vision-Instruct | |
| llama model list | |
| llama stack list-apis | |
| llama stack list-providers inference |