mirror of
https://github.com/ollama/ollama.git
synced 2026-03-27 02:58:43 +07:00
Allow installing Ollama on MacOS directly from the command line. This is in line with other CLI tools and results in a more streamlined experience when the user is looking to use the CLI specifically.
23 lines
488 B
YAML
23 lines
488 B
YAML
name: test-install
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/install.sh'
|
|
- '.github/workflows/test-install.yaml'
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run install script
|
|
run: sh ./scripts/install.sh
|
|
env:
|
|
OLLAMA_NO_START: 1 # do not start app
|
|
- name: Verify ollama is available
|
|
run: ollama --version
|