Skip to content

Commit

Permalink
Merge pull request #265 from Gottox/chores/mk-buildmode
Browse files Browse the repository at this point in the history
.Mk.yaml: use build modes
  • Loading branch information
Gottox committed Jun 11, 2024
2 parents 0e12367 + f9355e3 commit abd8338
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions .Mk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,43 @@
configure:
- -Dwerror=true
- -Ddefault_library=static
- -Dexamples=true
- -Db_lundef=false
- -Dtest=true
- -Ddoc=internal
- -Dcurl=enabled
- -Dzlib=enabled
- -Dlz4=enabled
- -Dlzma=enabled
- -Dzstd=enabled
- -Dfuse=enabled
- -Dfuse-old=enabled
- -Db_coverage=true
- -Db_sanitize=address,undefined
#- -Dtest=extended
#- -Dfuzzer=true
#- -Dfuzzer_timeout=10
default:
- test

mode:
default:
configure:
- -Db_lundef=false
- -Dtest=true
- -Ddoc=internal
- -Dexamples=true
- -Db_coverage=true
- -Db_sanitize=address,undefined
default:
- test
bench:
configure:
- --optimization=3
- -Ddebug=true
- -Dtest=false
- -Dexamples=false
- -Dfuzzer=false
- -Ddoc=false
- -Db_coverage=false
- -Db_sanitize=none
- -Db_lto=true
fuzz:
configure:
- -Dfuzzer=true
- -Dfuzzer_timeout=300
extended:
configure:
- -Dtest=extended
clang:
env:
CC: clang

0 comments on commit abd8338

Please sign in to comment.