echodict/llama.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:cfc44b7ba25614df70e6b65e3341cae0310163bd32fd31a6b928a542df433faf size 30786
0773
1name: CI (3rd-party)2 3on:4 workflow_dispatch: # allows manual triggering5 push:6 branches:7 - master8 paths: [9 '.github/workflows/build-3rd-party.yml',10 '**/CMakeLists.txt',11 '**/.cmake',12 '**/*.h',13 '**/*.hpp',14 '**/*.c',15 '**/*.cpp'16 ]17 18concurrency:19 group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}20 cancel-in-progress: true21 22env:23 GGML_NLOOP: 324 GGML_N_THREADS: 125 LLAMA_LOG_COLORS: 126 LLAMA_LOG_PREFIX: 127 LLAMA_LOG_TIMESTAMPS: 128 29jobs:30 ubuntu-24-llguidance:31 runs-on: ${{ 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}32 33 steps:34 - name: Clone35 id: checkout36 uses: actions/checkout@v637 38 - name: Dependencies39 id: depends40 run: |41 sudo apt-get update42 sudo apt-get install build-essential libssl-dev43 44 - name: Build45 id: cmake_build46 run: |47 cmake -B build \48 -DLLAMA_FATAL_WARNINGS=ON \49 -DLLAMA_LLGUIDANCE=ON50 cmake --build build --config Release -j $(nproc)51 52 - name: Test53 id: cmake_test54 run: |55 cd build56 ctest -L main --verbose --timeout 90057 58 