Skip to content

Commit 4f6d133

Browse files
authored
ci : temporary disable sanitizer builds (#6128)
1 parent 2bf8d0f commit 4f6d133

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -98,40 +98,40 @@ jobs:
9898
cd build
9999
ctest -L main --verbose --timeout 900
100100
101-
ubuntu-latest-cmake-sanitizer:
102-
runs-on: ubuntu-latest
103-
104-
continue-on-error: true
105-
106-
strategy:
107-
matrix:
108-
sanitizer: [ADDRESS, THREAD, UNDEFINED]
109-
build_type: [Debug, Release]
110-
111-
steps:
112-
- name: Clone
113-
id: checkout
114-
uses: actions/checkout@v3
115-
116-
- name: Dependencies
117-
id: depends
118-
run: |
119-
sudo apt-get update
120-
sudo apt-get install build-essential
121-
122-
- name: Build
123-
id: cmake_build
124-
run: |
125-
mkdir build
126-
cd build
127-
cmake .. -DLLAMA_FATAL_WARNINGS=ON -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
128-
cmake --build . --config ${{ matrix.build_type }} -j $(nproc)
129-
130-
- name: Test
131-
id: cmake_test
132-
run: |
133-
cd build
134-
ctest -L main --verbose --timeout 900
101+
# ubuntu-latest-cmake-sanitizer:
102+
# runs-on: ubuntu-latest
103+
#
104+
# continue-on-error: true
105+
#
106+
# strategy:
107+
# matrix:
108+
# sanitizer: [ADDRESS, THREAD, UNDEFINED]
109+
# build_type: [Debug, Release]
110+
#
111+
# steps:
112+
# - name: Clone
113+
# id: checkout
114+
# uses: actions/checkout@v3
115+
#
116+
# - name: Dependencies
117+
# id: depends
118+
# run: |
119+
# sudo apt-get update
120+
# sudo apt-get install build-essential
121+
#
122+
# - name: Build
123+
# id: cmake_build
124+
# run: |
125+
# mkdir build
126+
# cd build
127+
# cmake .. -DLLAMA_FATAL_WARNINGS=ON -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
128+
# cmake --build . --config ${{ matrix.build_type }} -j $(nproc)
129+
#
130+
# - name: Test
131+
# id: cmake_test
132+
# run: |
133+
# cd build
134+
# ctest -L main --verbose --timeout 900
135135

136136
ubuntu-latest-cmake-mpi:
137137
runs-on: ubuntu-latest

.github/workflows/server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
sanitizer: [ADDRESS, THREAD, UNDEFINED]
27+
# TODO: temporary disabled due to linux kernel issues
28+
#sanitizer: [ADDRESS, THREAD, UNDEFINED]
29+
sanitizer: [UNDEFINED]
2830
build_type: [Debug]
2931
include:
3032
- build_type: Release
3133
sanitizer: ""
32-
- build_type: Debug
33-
sanitizer: THREAD
3434
disabled_on_pr: true
3535
fail-fast: false # While -DLLAMA_SANITIZE_THREAD=ON is broken
3636

0 commit comments

Comments
 (0)