ci : use sanitizer builds only in Debug mode
ggml-ci
This commit is contained in:
parent
9945478438
commit
d076b6acd0
2 changed files with 1 additions and 10 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -234,7 +234,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
sanitizer: [ADDRESS, THREAD, UNDEFINED]
|
||||
build_type: [Debug, Release]
|
||||
build_type: [Debug]
|
||||
|
||||
steps:
|
||||
- name: Clone
|
||||
|
|
|
@ -12,16 +12,7 @@
|
|||
#include <cstdint>
|
||||
#include <locale>
|
||||
#include <map>
|
||||
|
||||
// silence warnings triggered by a gcc bug when using sanitizers
|
||||
// ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562#c21
|
||||
#pragma GCC diagnostic push
|
||||
#if defined __SANITIZE_ADDRESS__ && defined __OPTIMIZE__
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
#include <regex>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue