troubleshooting

This commit is contained in:
Concedo 2025-04-04 19:08:51 +08:00
parent 3105eeec93
commit 0c7f8a1d43
2 changed files with 10 additions and 2 deletions

View file

@ -23,10 +23,13 @@ jobs:
run: |
apt-get update
apt-get install -y sudo
sudo apt-get -y install git curl bzip2
sudo apt-get -y install git curl bzip2 build-essential tcl-dev tk-dev python3-tk
- name: Build
id: make_build
env:
TCL_LIBRARY: /usr/lib/tcl8.6
TK_LIBRARY: /usr/lib/tk8.6
run: |
./koboldcpp.sh dist

View file

@ -23,7 +23,12 @@ jobs:
run: |
apt-get update
apt-get install -y sudo
sudo apt-get -y install git curl bzip2
sudo apt-get -y install git curl bzip2 python3-tk tcl tk
- name: Set Tcl/Tk Paths
run: |
echo "TCL_LIBRARY=$(find /usr/lib/ -name 'tcl8*' | head -n 1)" >> $GITHUB_ENV
echo "TK_LIBRARY=$(find /usr/lib/ -name 'tk8*' | head -n 1)" >> $GITHUB_ENV
- name: Build
id: make_build