mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-04-28 11:40:43 +00:00
Squashed commit: [3d1fedab] test workflow [c26d3a50] test workflow [70e84f54] test workflow [3383d040] workflow test [2262b3c6] workflow test [cd335d5a] workflow test [bdbbfaeb] workflow test [8e9fed4c] testing workflow [e5b90d66] workflow test
70 lines
1.9 KiB
YAML
70 lines
1.9 KiB
YAML
name: Koboldcpp Builder Windows Full Binaries
|
|
|
|
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: concedo_experimental
|
|
|
|
- name: Get Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8.10
|
|
|
|
- name: Install python dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install customtkinter==5.2.0 pyinstaller==5.11.0 psutil==5.9.5
|
|
|
|
- name: Download and install win64devkit
|
|
run: |
|
|
curl -L https://github.com/skeeto/w64devkit/releases/download/v1.22.0/w64devkit-1.22.0.zip --output w64devkit.zip
|
|
Expand-Archive w64devkit.zip -DestinationPath .
|
|
|
|
- name: Add w64devkit to PATH
|
|
run: |
|
|
echo "$(Get-Location)\w64devkit\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
|
|
|
- name: Build Non-CUDA
|
|
id: make_build
|
|
run: |
|
|
make -j ${env:NUMBER_OF_PROCESSORS}
|
|
|
|
- name: Package PyInstaller
|
|
id: make_pyinstaller
|
|
run: |
|
|
./make_pyinstaller.bat
|
|
ls
|
|
|
|
# - uses: Jimver/cuda-toolkit@v0.2.11
|
|
# id: cuda-toolkit
|
|
# with:
|
|
# cuda: '11.4.4'
|
|
|
|
# - name: Build CUDA
|
|
# id: cmake_build
|
|
# run: |
|
|
# mkdir build
|
|
# cd build
|
|
# cmake .. -DLLAMA_CUBLAS=ON -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
|
|
# cmake --build . --config Release -j ${env:NUMBER_OF_PROCESSORS}
|
|
|
|
# - name: Save artifact
|
|
# uses: actions/upload-artifact@v3
|
|
# with:
|
|
# name: kcpp_windows_cuda_binary
|
|
# path: build/bin/Release/
|
|
|
|
- name: Save artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: kcpp_windows_pyinstallers
|
|
path: dist/
|