Skip to content

Commit

Permalink
CI setup for ollama
Browse files Browse the repository at this point in the history
  • Loading branch information
ccreutzi committed May 27, 2024
1 parent a6b8d51 commit 4304636
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Ollama
run: |
curl -fsSL https://ollama.com/install.sh | sudo -E sh
- name: Start serving
run: |
# Run the background, there is no way to daemonise at the moment
ollama serve &
# A short pause is required before the HTTP port is opened
sleep 5
# This endpoint blocks until ready
time curl -i http://localhost:11434
- name: Pull mistral model
run: |
ollama pull mistral
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
Expand Down

0 comments on commit 4304636

Please sign in to comment.