Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
e64b5b07
Unverified
Commit
e64b5b07
authored
Jan 25, 2024
by
Michael Yang
Committed by
GitHub
Jan 25, 2024
Browse files
Merge pull request #2181 from ollama/mxyng/stub-lint
stub generate outputs for lint
parents
9e1e295c
8e5d359a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
.github/workflows/test.yaml
.github/workflows/test.yaml
+13
-5
No files found.
.github/workflows/test.yaml
View file @
e64b5b07
...
@@ -45,7 +45,6 @@ jobs:
...
@@ -45,7 +45,6 @@ jobs:
path
:
|
path
:
|
llm/llama.cpp/build/**/lib/*
llm/llama.cpp/build/**/lib/*
lint
:
lint
:
needs
:
generate
strategy
:
strategy
:
matrix
:
matrix
:
os
:
[
ubuntu-latest
,
macos-latest
,
windows-latest
]
os
:
[
ubuntu-latest
,
macos-latest
,
windows-latest
]
...
@@ -69,10 +68,19 @@ jobs:
...
@@ -69,10 +68,19 @@ jobs:
with
:
with
:
go-version
:
'
1.21'
go-version
:
'
1.21'
cache
:
false
cache
:
false
-
uses
:
actions/download-artifact@v4
-
run
:
|
with
:
mkdir -p llm/llama.cpp/build/linux/${{ matrix.arch }}/stub/lib/
name
:
${{ matrix.os }}-${{ matrix.arch }}-libraries
touch llm/llama.cpp/build/linux/${{ matrix.arch }}/stub/lib/stub.so
path
:
llm/llama.cpp/build
if
:
${{ startsWith(matrix.os, 'ubuntu-') }}
-
run
:
|
mkdir -p llm/llama.cpp/build/darwin/${{ matrix.arch }}/stub/lib/
touch llm/llama.cpp/build/darwin/${{ matrix.arch }}/stub/lib/stub.dylib
touch llm/llama.cpp/ggml-metal.metal
if
:
${{ startsWith(matrix.os, 'macos-') }}
-
run
:
|
mkdir -p llm/llama.cpp/build/windows/${{ matrix.arch }}/stub/lib/
touch llm/llama.cpp/build/windows/${{ matrix.arch }}/stub/lib/stub.dll
if
:
${{ startsWith(matrix.os, 'windows-') }}
-
uses
:
golangci/golangci-lint-action@v3
-
uses
:
golangci/golangci-lint-action@v3
test
:
test
:
needs
:
generate
needs
:
generate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment