mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
8903641dbb
commit
524fc44fc1
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,8 @@ build:
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' .
|
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' .
|
||||||
env:
|
env:
|
||||||
|
GO_LDFLAGS:
|
||||||
|
- -X github.com/jmorganca/ollama/version.Version={{version}}
|
||||||
linux:
|
linux:
|
||||||
GO_LDFLAGS:
|
GO_LDFLAGS:
|
||||||
# else segfaults
|
# else segfaults
|
||||||
|
@ -35,6 +37,7 @@ test:
|
||||||
linux:
|
linux:
|
||||||
gitlab.com/procps-ng/procps: '*'
|
gitlab.com/procps-ng/procps: '*'
|
||||||
script:
|
script:
|
||||||
|
- ollama --version | grep 'client version is {{version}}'
|
||||||
# 0.0.19 complains about a missing blobs directory
|
# 0.0.19 complains about a missing blobs directory
|
||||||
- run: mkdir -p ~/.ollama/models/blobs
|
- run: mkdir -p ~/.ollama/models/blobs
|
||||||
if: =0.0.19
|
if: =0.0.19
|
||||||
|
|
Loading…
Reference in a new issue