mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
ci : re-enable sanitizer runs (#7358)
* Revert "ci : temporary disable sanitizer builds (#6128)"
This reverts commit 4f6d1337ca
.
* ci : trigger
This commit is contained in:
parent
511182eabb
commit
059031b8c4
68
.github/workflows/build.yml
vendored
68
.github/workflows/build.yml
vendored
@ -271,40 +271,40 @@ jobs:
|
|||||||
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip
|
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip
|
||||||
name: llama-bin-ubuntu-x64.zip
|
name: llama-bin-ubuntu-x64.zip
|
||||||
|
|
||||||
# ubuntu-latest-cmake-sanitizer:
|
ubuntu-latest-cmake-sanitizer:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
#
|
|
||||||
# continue-on-error: true
|
continue-on-error: true
|
||||||
#
|
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# sanitizer: [ADDRESS, THREAD, UNDEFINED]
|
sanitizer: [ADDRESS, THREAD, UNDEFINED]
|
||||||
# build_type: [Debug, Release]
|
build_type: [Debug, Release]
|
||||||
#
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Clone
|
- name: Clone
|
||||||
# id: checkout
|
id: checkout
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
#
|
|
||||||
# - name: Dependencies
|
- name: Dependencies
|
||||||
# id: depends
|
id: depends
|
||||||
# run: |
|
run: |
|
||||||
# sudo apt-get update
|
sudo apt-get update
|
||||||
# sudo apt-get install build-essential
|
sudo apt-get install build-essential
|
||||||
#
|
|
||||||
# - name: Build
|
- name: Build
|
||||||
# id: cmake_build
|
id: cmake_build
|
||||||
# run: |
|
run: |
|
||||||
# mkdir build
|
mkdir build
|
||||||
# cd build
|
cd build
|
||||||
# cmake .. -DLLAMA_FATAL_WARNINGS=ON -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
cmake .. -DLLAMA_FATAL_WARNINGS=ON -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
||||||
# cmake --build . --config ${{ matrix.build_type }} -j $(nproc)
|
cmake --build . --config ${{ matrix.build_type }} -j $(nproc)
|
||||||
#
|
|
||||||
# - name: Test
|
- name: Test
|
||||||
# id: cmake_test
|
id: cmake_test
|
||||||
# run: |
|
run: |
|
||||||
# cd build
|
cd build
|
||||||
# ctest -L main --verbose --timeout 900
|
ctest -L main --verbose --timeout 900
|
||||||
|
|
||||||
ubuntu-latest-cmake-mpi:
|
ubuntu-latest-cmake-mpi:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
7
.github/workflows/server.yml
vendored
7
.github/workflows/server.yml
vendored
@ -32,13 +32,14 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# TODO: temporary disabled due to linux kernel issues
|
sanitizer: [ADDRESS, THREAD, UNDEFINED]
|
||||||
#sanitizer: [ADDRESS, THREAD, UNDEFINED]
|
|
||||||
sanitizer: [UNDEFINED]
|
|
||||||
build_type: [Debug]
|
build_type: [Debug]
|
||||||
include:
|
include:
|
||||||
- build_type: Release
|
- build_type: Release
|
||||||
sanitizer: ""
|
sanitizer: ""
|
||||||
|
- build_type: Debug
|
||||||
|
sanitizer: THREAD
|
||||||
|
disabled_on_pr: true
|
||||||
fail-fast: false # While -DLLAMA_SANITIZE_THREAD=ON is broken
|
fail-fast: false # While -DLLAMA_SANITIZE_THREAD=ON is broken
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user