koboldcpp/.github/workflows/kcpp-build-release-win-cuda.yaml
Concedo dbbdb2eedc try fix macos build again (+3 squashed commit)
Squashed commit:

[7d2a67132] fix ci builds

[f0a5f0a97] fixed a typo

[8736d9034] try fix ci builds (+1 squashed commits)

Squashed commits:

[c2ae5a542] Revert "updated ci"

This reverts commit d8ebdde6ee.
2024-11-21 23:15:51 +08:00

34 lines
806 B
YAML

name: Koboldcpp Windows CUDA
on: workflow_dispatch
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
windows:
runs-on: windows-2019
steps:
- name: Clone
id: checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref || github.ref_name }}
- uses: Jimver/cuda-toolkit@v0.2.15
id: cuda-toolkit
with:
cuda: '11.4.4'
- name: Build
id: cmake_build
run: |
mkdir build
cd build
cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
cmake --build . --config Release -j 2
- name: Save artifact
uses: actions/upload-artifact@v3
with:
name: kcpp_windows_cuda_binary
path: build/bin/Release/