File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
distribution : ' zulu'
20
20
java-version : ' 11'
21
+ - name : Install libcurl
22
+ run : sudo apt-get install -y libcurl4-openssl-dev
21
23
- name : Build libraries
22
24
# cmake should figure out OS and ARCH automatically when running build.sh (but we need mvn compile for it)
23
25
run : |
@@ -79,10 +81,12 @@ jobs:
79
81
with :
80
82
distribution : ' zulu'
81
83
java-version : ' 11'
84
+ - name : Install libcurl
85
+ run : vcpkg install curl
82
86
- name : Build libraries
83
87
run : |
84
88
mvn compile
85
- .github\build.bat -DLLAMA_VERBOSE=ON -DLLAMA_CURL=ON
89
+ .github\build.bat -DLLAMA_VERBOSE=ON -DLLAMA_CURL=ON -DCURL_LIBRARY=C:/vcpkg/packages/curl_x64-windows/lib/libcurl.lib -DCURL_INCLUDE_DIR=C:/vcpkg/packages/curl_x64-windows/include
86
90
- name : Download model
87
91
run : curl -L $env:MODEL_URL --create-dirs -o models/$env:MODEL_NAME
88
92
- name : Run tests
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- uses : actions/checkout@v4
21
+ - name : Install libcurl
22
+ run : sudo apt-get install -y libcurl4-openssl-dev
21
23
- name : Build libraries
22
24
shell : bash
23
25
run : |
@@ -121,10 +123,12 @@ jobs:
121
123
}
122
124
steps :
123
125
- uses : actions/checkout@v4
126
+ - name : Install curl
127
+ run : vcpkg install curl
124
128
- name : Build libraries
125
129
shell : cmd
126
130
run : |
127
- .github\build.bat ${{ matrix.target.cmake }} -DOS_NAME=${{ matrix.target.os }} -DOS_ARCH=${{ matrix.target.arch }}
131
+ .github\build.bat ${{ matrix.target.cmake }} -DOS_NAME=${{ matrix.target.os }} -DOS_ARCH=${{ matrix.target.arch }} -DCURL_LIBRARY=C:/vcpkg/packages/curl_x64-windows/lib/libcurl.lib -DCURL_INCLUDE_DIR=C:/vcpkg/packages/curl_x64-windows/include
128
132
- name : Upload artifacts
129
133
uses : actions/upload-artifact@v4
130
134
with :
Original file line number Diff line number Diff line change 1
1
.idea
2
2
target
3
3
build
4
+ cmake-build- *
4
5
.DS_Store
5
6
.directory
6
7
.vscode
You can’t perform that action at this time.
0 commit comments