Skip to content

Commit d02c68c

Browse files
committed
DEBUG
1 parent 21a323d commit d02c68c

File tree

5 files changed

+2678
-2155
lines changed

5 files changed

+2678
-2155
lines changed

.github/workflows/test-gemini.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
test-gemini:
77
name: Run tests
88
runs-on: macos-latest
9+
env:
10+
NODE_LLAMA_CPP_CMAKE_OPTION_GGML_NATIVE: "OFF"
911
steps:
1012
- uses: actions/checkout@v4
1113
- name: Cache test model
@@ -20,7 +22,9 @@ jobs:
2022
with:
2123
node-version: 20
2224
cache: "npm"
23-
- run: npm install --ci
25+
- run: npm ci
26+
- name: Build node-llama-cpp
27+
run: npx node-llama-cpp source download --gpu false
2428
- run: npm run build
2529
- run: npm run download-ci-model
2630
- run: npm run test:gemini

.github/workflows/test-openai.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
name: Run tests
1414
runs-on: macos-latest
1515
if: contains(github.event.pull_request.labels.*.name, 'test-openai')
16+
env:
17+
NODE_LLAMA_CPP_CMAKE_OPTION_GGML_NATIVE: "OFF"
1618
steps:
1719
- uses: actions/checkout@v4
1820
- name: Cache test model
@@ -27,7 +29,9 @@ jobs:
2729
with:
2830
node-version: 20
2931
cache: "npm"
30-
- run: npm install --ci
32+
- run: npm ci
33+
- name: Build node-llama-cpp
34+
run: npx node-llama-cpp source download --gpu false
3135
- run: npm run build
3236
- run: npm run download-ci-model
3337
- run: npm run test:openai

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ jobs:
44
test:
55
name: Run tests
66
runs-on: macos-latest
7+
env:
8+
NODE_LLAMA_CPP_CMAKE_OPTION_GGML_NATIVE: "OFF"
79
steps:
810
- uses: actions/checkout@v4
911
- name: Cache test model
@@ -16,7 +18,9 @@ jobs:
1618
with:
1719
node-version: 20
1820
cache: "npm"
19-
- run: npm install --ci
21+
- run: npm ci
22+
- name: Build node-llama-cpp
23+
run: npx node-llama-cpp source download --gpu false
2024
- run: npm run build
2125
- run: npm run download-ci-model
2226
- run: npm run lint

0 commit comments

Comments
 (0)