mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-06-01 14:29:33 +00:00
* ci : remove tag from build-self-hosted.yml * ci : slim -> self-hosted * ci : prevent heavy CPU jobs from running on fast runners * ci : prevent cmake pkg to run on dedicated fast runners * ci : try to bump 3.11 -> 3.13 * ci : move lint back to 3.11 * ci : back to 3.11 * ci : add comment about UI jobs * ci : move python requirements check to CPU runners this job is a bit slow for a dedicated "fast" runner * ci : add self-hosted ui workflow * ci : fix UI naming * tmp to check if arm64 fast is compatible with all jobs * revert last commit
43 lines
964 B
YAML
43 lines
964 B
YAML
name: UI Build
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [self-hosted, fast]
|
|
env:
|
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: "24"
|
|
cache: "npm"
|
|
cache-dependency-path: "tools/ui/package-lock.json"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
working-directory: tools/ui
|
|
|
|
- name: Build application
|
|
run: npm run build
|
|
working-directory: tools/ui
|
|
|
|
- name: Generate checksums
|
|
run: |
|
|
cd tools/ui/dist
|
|
for f in *; do
|
|
sha256sum "$f" | awk '{print $1, $2}' >> checksums.txt
|
|
done
|
|
|
|
- name: Upload built UI
|
|
uses: actions/upload-artifact@v6
|
|
with:
|
|
name: ui-build
|
|
path: tools/ui/dist/
|
|
retention-days: 1
|