Skip to content

Commit 00c461c

Browse files
authored
ci : install server kleidiai runner dependencies (ggml-org#23259)
1 parent ccee426 commit 00c461c

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/server-self-hosted.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,32 @@ jobs:
152152
fetch-depth: 0
153153
ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
154154

155+
- name: Dependencies
156+
id: depends
157+
run: |
158+
set -euxo pipefail
159+
sudo apt-get update
160+
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a \
161+
apt-get install -y \
162+
build-essential \
163+
python3-venv \
164+
gpg \
165+
wget \
166+
time \
167+
git-lfs
168+
169+
git lfs install
170+
171+
# install the latest cmake
172+
sudo install -d /usr/share/keyrings
173+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
174+
| gpg --dearmor \
175+
| sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
176+
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' \
177+
| sudo tee /etc/apt/sources.list.d/kitware.list
178+
sudo apt-get update
179+
sudo apt-get install -y cmake
180+
155181
- name: Build
156182
id: cmake_build
157183
run: |

0 commit comments

Comments
 (0)