Skip to content

Commit

Permalink
Use a matrix for nightly valgrind (Take 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Oct 31, 2024
1 parent 411531c commit 9fa244d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:

include:
- compiler: clang
cxxflags: "-O3"
cxxflags: "" # default compilation flags
target: "valgrind-full" # memory bug detection
- compiler: clang
cxxflags: "-Os"
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/ci_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def sanitize_kv(some_string):
if target_cpu is not None:
flags += ['--cpu=%s' % (target_cpu)]

if custom_optimization_flags:
if custom_optimization_flags and any(flag for flag in custom_optimization_flags):
flags += ['--no-optimizations']
for flag in custom_optimization_flags:
flags += ['--extra-cxxflags=%s' % (flag)]
Expand Down

0 comments on commit 9fa244d

Please sign in to comment.