File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 linux :
8- runs-on : [self-hosted, Linux, CPU ]
8+ runs-on : [self-hosted, Linux]
99 steps :
1010 - uses : actions/checkout@v6
1111 with :
2323 -DLLAMA_BUILD_APP=OFF \
2424 -DLLAMA_BUILD_IS_DEV=OFF \
2525 -DCMAKE_BUILD_TYPE=Release
26- cmake --build build --config Release
26+ cmake --build build --config Release -j $(nproc)
2727 cmake --install build --prefix "$PREFIX" --config Release
2828
2929 export LLAMA_CONFIG="$PREFIX"/lib/cmake/llama/llama-config.cmake
5454
5555 cd examples/simple-cmake-pkg
5656 cmake -S . -B build -DCMAKE_PREFIX_PATH="$PREFIX"/lib/cmake
57- cmake --build build
57+ cmake --build build -j $(nproc)
Original file line number Diff line number Diff line change 9494 id : cmake_build
9595 run : |
9696 cmake -B build \
97+ -DGGML_NATIVE=OFF \
9798 -DLLAMA_FATAL_WARNINGS=ON \
9899 -DGGML_RPC=ON \
99100 -DGGML_NATIVE=OFF
Original file line number Diff line number Diff line change 3939 strategy :
4040 matrix :
4141 include :
42+ # thread and address doesn't run properly on some self hosted machines, so run it on Github instead
4243 - sanitizer : ADDRESS
43- machine : [self-hosted, X64, Linux]
44- # thread doesn't run properly on some self hosted machines, so run it on Github instead
44+ machine : ubuntu-24.04
4545 - sanitizer : THREAD
4646 machine : ubuntu-24.04
4747 - sanitizer : UNDEFINED
@@ -54,14 +54,14 @@ jobs:
5454 id : checkout
5555 uses : actions/checkout@v6
5656
57- - name : ccache
58- uses : ggml-org/ccache-action@v1.2.21
59- if : ${{ matrix.sanitizer == 'THREAD ' }}
60- with :
61- key : ctest-thread -ubuntu-24.04
62- variant : ccache
63- evict-old-files : 1d
64- save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
57+ # - name: ccache
58+ # uses: ggml-org/ccache-action@v1.2.21
59+ # if: ${{ matrix.sanitizer != 'UNDEFINED ' }}
60+ # with:
61+ # key: ctest-${{ matrix.sanitizer }} -ubuntu-24.04
62+ # variant: ccache
63+ # evict-old-files: 1d
64+ # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
6565
6666 # with UNDEFINED sanitizer, we have to build in Debug to avoid GCC 13 false-positive warnings
6767 - name : Build (undefined)
You can’t perform that action at this time.
0 commit comments