Resolves build issues with the extension example (#419)

* resolved extension build issues and added test to ci

* missing gguflib

* rebased

* force mlx install from fix branch

* linux build issue

* point to git install and comment out ci tests
This commit is contained in:
Diogo
2024-01-17 15:07:05 -05:00
committed by GitHub
parent 275db7221a
commit 556cdf0e06
5 changed files with 64 additions and 21 deletions

View File

@@ -38,6 +38,11 @@ jobs:
name: Run the python tests
command: |
python3 -m unittest discover python/tests
# TODO: Reenable when extension api becomes stable
# - run:
# name: Build example extension
# command: |
# cd examples/extensions && python3 -m pip install .
- run:
name: Build CPP only
command: |
@@ -78,6 +83,13 @@ jobs:
conda activate runner-env
DEVICE=cpu python -m xmlrunner discover -v python/tests -o test-results/cpu
DEVICE=gpu python -m xmlrunner discover -v python/tests -o test-results/gpu
# TODO: Reenable when extension api becomes stable
# - run:
# name: Build example extension
# command: |
# eval "$(conda shell.bash hook)"
# conda activate runner-env
# cd examples/extensions && python -m pip install .
- store_test_results:
path: test-results
- run: