updated ci to publish and build rolling for all main targets

This commit is contained in:
Concedo 2026-04-03 00:28:01 +08:00
parent be6ff2602d
commit b286d76873
6 changed files with 35 additions and 3 deletions

View file

@ -17,6 +17,7 @@ env:
jobs:
linux:
runs-on: ubuntu-22.04
permissions: write-all
container:
image: ubuntu:20.04
options: --privileged
@ -60,3 +61,21 @@ jobs:
with:
name: kcpp_linux_binary
path: dist/
- name: Install GitHub CLI
run: |
apt-get update
apt-get install -y curl
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
| dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
| tee /etc/apt/sources.list.d/github-cli.list > /dev/null
apt-get update
apt-get install -y gh
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload rolling dist/koboldcpp-linux-x64-oldpc --clobber --repo ${{ github.repository }}

View file

@ -62,7 +62,7 @@ jobs:
name: kcpp_linux_binary
path: ${{ github.workspace }}/dist/
- name: Upload to GitHub Release
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

View file

@ -73,7 +73,7 @@ jobs:
apt-get update
apt-get install -y gh
- name: Upload to GitHub Release
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

View file

@ -14,6 +14,7 @@ env:
jobs:
osx:
runs-on: macos-14
permissions: write-all
steps:
- name: Clone
id: checkout
@ -50,3 +51,8 @@ jobs:
name: kcpp_mac_binary
path: dist/
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload rolling dist/koboldcpp-mac-arm64 --clobber

View file

@ -14,6 +14,7 @@ env:
jobs:
windows:
runs-on: windows-2022
permissions: write-all
steps:
- name: Clone
id: checkout
@ -128,3 +129,9 @@ jobs:
with:
name: kcpp_windows_pyinstallers
path: dist/
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload rolling dist/koboldcpp-oldpc.exe --clobber

View file

@ -136,7 +136,7 @@ jobs:
run: |
echo "If you cannot compile vulkan shaders yourself with glslc, you can manually patch in precompiled vulkan shader source files. Copy ggml-vulkan-shaders.cpp and ggml-vulkan-shaders.hpp to the ggml/src subdirectory in KoboldCpp source files before building." > vulkan-readme.txt
- name: Upload to GitHub Release
- name: Upload to GitHub Rolling Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |