This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +59
-7
lines changed
Expand file tree Collapse file tree 1 file changed +59
-7
lines changed Original file line number Diff line number Diff line change 1818
1919env :
2020 BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
21- GGML_NLOOP : 3
22- GGML_N_THREADS : 1
2321
2422jobs :
25- ubuntu-focal-make :
23+ ubuntu-amd64-build :
2624 runs-on : ubuntu-20.04
27-
25+ permissions :
26+ contents : write
2827 steps :
2928 - name : Clone
3029 id : checkout
4746 CC=gcc-8 make -j $(nproc)
4847 ls -la
4948
50- macOS-latest-cmake :
51- runs-on : macos-latest
49+ ubuntu-amd64-cuda-build :
50+ runs-on : linux-gpu
51+ permissions :
52+ contents : write
53+ steps :
54+ - name : Clone
55+ id : checkout
56+ uses : actions/checkout@v3
57+ with :
58+ submodules : recursive
59+
60+ - name : Dependencies
61+ id : depends
62+ run : |
63+ sudo apt-get update
64+ sudo apt-get install build-essential gcc-8
5265
66+ - name : Build
67+ id : make_build
68+ run : |
69+ ./install_deps.sh
70+ mkdir build && cd build
71+ cmake -DLLAMA_CUBLAS=ON ..
72+ CC=gcc-8 make -j $(nproc)
73+ ls -la
74+
75+ macOS-M-build :
76+ runs-on : mac-silicon
77+ permissions :
78+ contents : write
5379 steps :
5480 - name : Clone
5581 id : checkout
6894 run : |
6995 ./install_deps.sh
7096 mkdir build && cd build
71- cmake -DLLAMA_METAL=OFF ..
97+ cmake ..
7298 CC=gcc-8 make -j $(nproc)
7399 ls -la
100+
101+ macOS-Intel-build :
102+ runs-on : macos-latest
103+ permissions :
104+ contents : write
105+ steps :
106+ - name : Clone
107+ id : checkout
108+ uses : actions/checkout@v3
109+ with :
110+ submodules : recursive
111+
112+ - name : Dependencies
113+ id : depends
114+ continue-on-error : true
115+ run : |
116+ brew update
117+
118+ - name : Build
119+ id : cmake_build
120+ run : |
121+ ./install_deps.sh
122+ mkdir build && cd build
123+ cmake -DLLAMA_METAL=OFF ..
124+ CC=gcc-8 make -j $(nproc)
125+ ls -la
You can’t perform that action at this time.
0 commit comments