Skip to content

Commit a17e89b

Browse files
committed
build: add windows cpu release build github action
1 parent 56c0b75 commit a17e89b

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,22 @@ jobs:
150150
run: |
151151
git submodule update --init --recursive
152152
153-
- name: Install scoop
153+
- name: Scoop dependencies
154154
shell: powershell
155155
run: |
156156
irm get.scoop.sh | iex
157-
scoop install ninja
157+
scoop install ninja llvm
158+
159+
- name: Build
160+
id: cmake_build
161+
run: |
162+
mkdir build
163+
cd build
164+
cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DLLAMA_NATIVE=OFF -DLLAMA_VULKAN=OFF -DCMAKE_BUILD_TYPE=Release
165+
ninja -j $(nproc)
166+
167+
- name: Archive library
168+
uses: actions/upload-artifact@v4
169+
with:
170+
name: windows_cpu_release.zip
171+
path: build/libgodot_llm.windows.release.amd64.dll

0 commit comments

Comments
 (0)