Skip to content

Commit 7f2bf4d

Browse files
authored
Update c-cpp.yml
1 parent 6f3a7be commit 7f2bf4d

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

.github/workflows/c-cpp.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
name: C/C++ CI
1+
name: Build llama.cpp
22

33
on:
4-
push:
5-
branches: [ "master" ]
6-
pull_request:
7-
branches: [ "master" ]
4+
workflow_dispatch:
85

96
jobs:
107
build:
11-
128
runs-on: ubuntu-latest
139

1410
steps:
15-
- uses: actions/checkout@v4
16-
- name: configure
17-
run: ./configure
18-
- name: make
19-
run: make
20-
- name: make check
21-
run: make check
22-
- name: make distcheck
23-
run: make distcheck
11+
- name: 📥 استنساخ الكود
12+
uses: actions/checkout@v3
13+
14+
- name: 🛠️ تثبيت المتطلبات
15+
run: |
16+
sudo apt update
17+
sudo apt install -y cmake build-essential
18+
19+
- name: 🏗️ بناء المشروع
20+
run: |
21+
mkdir -p build
22+
cd build
23+
cmake ..
24+
make
25+
26+
- name: ✅ عرض نتيجة البناء
27+
run: ls -la build

0 commit comments

Comments
 (0)