Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 446d5f5

Browse filesBrowse files
committed
Add metal ci test
1 parent c89eada commit 446d5f5
Copy full SHA for 446d5f5

File tree

Expand file treeCollapse file tree

1 file changed

+21
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+21
-1
lines changed

‎.github/workflows/test.yaml

Copy file name to clipboardExpand all lines: .github/workflows/test.yaml
+21-1Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,24 @@ jobs:
7676
python3 -m pip install .[all] --verbose
7777
- name: Test with pytest
7878
run: |
79-
python3 -m pytest
79+
python3 -m pytest
80+
81+
build-macos-metal:
82+
83+
runs-on: macos-latest
84+
85+
steps:
86+
- uses: actions/checkout@v3
87+
with:
88+
submodules: "true"
89+
- name: Set up Python 3.8
90+
uses: actions/setup-python@v4
91+
with:
92+
python-version: "3.8"
93+
- name: Install dependencies
94+
run: |
95+
python3 -m pip install --upgrade pip
96+
CMAKE_ARGS="-DLLAMA_METAL=on" python3 -m pip install .[all] --verbose
97+
- name: Test with pytest
98+
run: |
99+
python3 -m pytest

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.