Add metal ci test
This commit is contained in:
parent
c89eadafbf
commit
446d5f5649
1 changed files with 21 additions and 1 deletions
20
.github/workflows/test.yaml
vendored
20
.github/workflows/test.yaml
vendored
|
@ -77,3 +77,23 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: |
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue