Skip to content

Commit a93a79e

Browse files
committed
ci workflow disable curl build
1 parent 0b304b8 commit a93a79e

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
MODEL_URL: https://huggingface.co/TheBloke/CodeLlama-7B-GGUF/resolve/main/codellama-7b.Q2_K.gguf
88
MODEL_NAME: codellama-7b.Q2_K.gguf
99
jobs:
10+
1011
build-and-test-linux:
1112
name: ubuntu-latest
1213
runs-on: ubuntu-latest
@@ -16,12 +17,10 @@ jobs:
1617
with:
1718
distribution: zulu
1819
java-version: "11"
19-
- name: Install libcurl
20-
run: sudo apt-get install -y libcurl4-openssl-dev
2120
- name: Build libraries
2221
run: |
2322
mvn compile
24-
.github/build.sh -DLLAMA_VERBOSE=ON -DLLAMA_CURL=ON
23+
.github/build.sh -DLLAMA_VERBOSE=ON
2524
- name: Download model
2625
run: curl -L ${MODEL_URL} --create-dirs -o models/${MODEL_NAME}
2726
- name: Run tests
@@ -32,6 +31,7 @@ jobs:
3231
name: error-log-linux
3332
path: ${{ github.workspace }}/hs_err_pid*.log
3433
if-no-files-found: warn
34+
3535
build-and-test-macos:
3636
name: ${{ matrix.target.runner }}
3737
runs-on: ${{ matrix.target.runner }}
@@ -40,10 +40,9 @@ jobs:
4040
matrix:
4141
target:
4242
- runner: macos-13
43-
cmake: -DLLAMA_METAL=OFF -DLLAMA_VERBOSE=ON -DLLAMA_CURL=ON
43+
cmake: -DLLAMA_METAL=OFF -DLLAMA_VERBOSE=ON
4444
- runner: macos-14
4545
cmake: -DLLAMA_METAL_EMBED_LIBRARY=ON -DLLAMA_METAL=OFF -DLLAMA_VERBOSE=ON
46-
-DLLAMA_CURL=ON
4746
steps:
4847
- uses: actions/checkout@v4
4948
- uses: actions/setup-java@v4
@@ -64,6 +63,7 @@ jobs:
6463
name: error-log-macos
6564
path: ${{ github.workspace }}/hs_err_pid*.log
6665
if-no-files-found: warn
66+
6767
build-and-test-windows:
6868
name: windows-latest
6969
runs-on: windows-latest
@@ -77,21 +77,13 @@ jobs:
7777
run: |
7878
mvn compile
7979
.github\build.bat -DLLAMA_VERBOSE=ON
80-
- name: Copy DLLs (including curl.dll) from vcpkg explicitly
81-
run: |
82-
mkdir -Force "target/classes/de/kherud/llama/Windows/x86_64"
83-
Copy-Item ".\src\main\resources\de\kherud\llama\Windows\x86_64\*.dll" "target/classes/de/kherud/llama/Windows/x86_64/"
84-
- name: Verify DLL placement
85-
run: |
86-
dir target\classes\de\kherud\llama\Windows\x86_64\
8780
- name: Download model
8881
run: curl -L $env:MODEL_URL --create-dirs -o models/$env:MODEL_NAME
8982
- name: Run tests
90-
run: mvn test "-Djava.library.path=${env:PATH};${{ github.workspace }}\target\classes\de\kherud\llama\Windows\x86_64 -Ddebug.native.loading=true"
83+
run: mvn test
9184
- if: failure()
9285
uses: actions/upload-artifact@v4
9386
with:
9487
name: error-log-windows
9588
path: ${{ github.workspace }}\hs_err_pid*.log
96-
if-no-files-found: warn
97-
89+
if-no-files-found: warn

0 commit comments

Comments
 (0)