File tree Expand file tree Collapse file tree 5 files changed +2678
-2155
lines changed
Expand file tree Collapse file tree 5 files changed +2678
-2155
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments