Add metal ci test

This commit is contained in:
Andrei Betlen 2023-11-01 21:15:01 -04:00
parent c89eadafbf
commit 446d5f5649

View file

@ -76,4 +76,24 @@ jobs:
python3 -m pip install .[all] --verbose python3 -m pip install .[all] --verbose
- name: Test with pytest - name: Test with pytest
run: | run: |
python3 -m pytest python3 -m pytest
build-macos-metal:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
CMAKE_ARGS="-DLLAMA_METAL=on" python3 -m pip install .[all] --verbose
- name: Test with pytest
run: |
python3 -m pytest