Skip to content

Commit 4304636

Browse files
committed
CI setup for ollama
1 parent a6b8d51 commit 4304636

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ jobs:
77
steps:
88
- name: Check out repository
99
uses: actions/checkout@v4
10+
- name: Install Ollama
11+
run: |
12+
curl -fsSL https://ollama.com/install.sh | sudo -E sh
13+
- name: Start serving
14+
run: |
15+
# Run the background, there is no way to daemonise at the moment
16+
ollama serve &
17+
18+
# A short pause is required before the HTTP port is opened
19+
sleep 5
20+
21+
# This endpoint blocks until ready
22+
time curl -i http://localhost:11434
23+
24+
- name: Pull mistral model
25+
run: |
26+
ollama pull mistral
1027
- name: Set up MATLAB
1128
uses: matlab-actions/setup-matlab@v2
1229
with:

0 commit comments

Comments
 (0)