char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
234a6ebaa
char/aliceai-t5-moe
1name : CI (msys) 2 3on : 4# only manual triggers due to low-importance of the workflows 5# TODO: for regular runs, provision dedicated self-hosted runners 6workflow_dispatch : 7# run once every week 8schedule : 9- cron : '0 0 * * 0' 10 11concurrency : 12group : ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} 13cancel-in-progress : true 14 15env : 16GGML_NLOOP : 3 17GGML_N_THREADS : 1 18LLAMA_ARG_LOG_COLORS : 1 19LLAMA_ARG_LOG_PREFIX : 1 20LLAMA_ARG_LOG_TIMESTAMPS : 1 21 22jobs : 23windows-msys2 : 24runs-on : windows-2025 25 26strategy : 27fail-fast : false 28matrix : 29include : 30- { sys : UCRT64 , env : ucrt-x86_64 , compiler : gcc , build : Release } 31- { sys : CLANG64 , env : clang-x86_64 , compiler : clang , build : Release } 32 33steps : 34- name : Clone 35uses : actions/checkout@v6 36 37#- name: ccache 38# uses: ggml-org/ccache-action@v1.2.24 39# with: 40# key: msys-windows-2025-x64 41# variant: ccache 42# evict-old-files: 1d 43# save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} 44 45- name : Setup ${{ matrix.sys }} 46uses : msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2 47with : 48update : true 49msystem : ${{matrix.sys}} 50install : >- 51mingw-w64-${{matrix.env}}-${{matrix.compiler}} 52mingw-w64-${{matrix.env}}-cmake 53mingw-w64-${{matrix.env}}-openblas 54 55- name : Build using CMake 56shell : msys2 {0} 57run : | 58cmake -B build 59cmake --build build --config ${{ matrix.build }} -j $(nproc) 60 61- name : Clean after building using CMake 62shell : msys2 {0} 63run : | 64rm -rf build 65 66- name : Build using CMake w/ OpenBLAS 67shell : msys2 {0} 68run : | 69 cmake -B build -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS 70 cmake --build build --config ${{ matrix.build }} -j $(nproc)