|
42 | 42 | latest-factors: |
|
43 | 43 | msvc Optimized-Debug
|
44 | 44 | gcc UBSan Coverage
|
45 |
| - clang UBSan |
| 45 | + clang UBSan ASan |
46 | 46 | apple-clang UBSan ASan
|
47 | 47 | factors: ''
|
48 | 48 | runs-on: |
|
|
76 | 76 | llvm-root: ../third-party/llvm-project/install
|
77 | 77 | llvm-archive-extension: {{#if (ieq os 'windows') }}7z{{else}}tar.bz2{{/if}}
|
78 | 78 | llvm-archive-filename: {{{ llvm-archive-basename }}}.{{{ llvm-archive-extension }}}
|
79 |
| - llvm-sanitizer-config: {{#if (or (ne compiler 'clang') (ne compiler 'apple-clang'))}}{{else if ubsan}}Undefined{{else if asan}}Address{{/if}} |
80 |
| - mrdocs-ccflags: {{{ ccflags }}} {{#if (and (eq compiler 'gcc') (not asan)) }}-static{{/if}} |
81 |
| - mrdocs-cxxflags: {{{ cxxflags }}} {{#if (and (eq compiler 'gcc') (not asan)) }}-static{{/if}} |
| 79 | + llvm-sanitizer-config: {{#if (and (ne compiler 'clang') (ne compiler 'apple-clang'))}}{{else if ubsan}}Undefined{{else if asan}}Address{{else if msan}}MemoryWithOrigins{{/if}} |
| 80 | + mrdocs-flags: {{#if (and (eq compiler 'gcc') (not asan)) }}-static{{/if}}{{#if (and (eq compiler 'clang') msan) }}-fsanitize-memory-track-origins{{/if}} |
| 81 | + mrdocs-ccflags: {{{ ccflags }}} {{{ mrdocs-flags }}} |
| 82 | + mrdocs-cxxflags: {{{ cxxflags }}} {{{ mrdocs-flags }}} |
| 83 | + mrdocs-linkflags: {{#if asan }}-fsanitize=address{{/if}} |
82 | 84 | mrdocs-package-generators: {{#if (ieq os 'windows') }}7Z ZIP WIX{{else}}TGZ TXZ{{/if}}
|
83 | 85 | mrdocs-release-package-artifact: release-packages-{{{ lowercase os }}}
|
84 | 86 | output-file: matrix.json
|
@@ -279,6 +281,8 @@ jobs:
|
279 | 281 | -DLLVM_USE_SANITIZER=${{ matrix.llvm-sanitizer-config }}
|
280 | 282 | cc: ${{ steps.setup-cpp.outputs.cc }}
|
281 | 283 | cxx: ${{ steps.setup-cpp.outputs.cxx }}
|
| 284 | + ccflags: -gz=zstd |
| 285 | + cxxflags: -gz=zstd |
282 | 286 | generator: Ninja
|
283 | 287 | install: true
|
284 | 288 | install-prefix: ${sourceDir}/../install
|
@@ -378,6 +382,7 @@ jobs:
|
378 | 382 | install-prefix: .local
|
379 | 383 | extra-args: |
|
380 | 384 | -D MRDOCS_BUILD_DOCS=OFF
|
| 385 | + -D CMAKE_EXE_LINKER_FLAGS=${{ matrix.mrdocs-linkflags }} |
381 | 386 | -D LLVM_ROOT=${{ steps.resolve-third-party-dir.outputs.third-party-dir }}/llvm-project/install
|
382 | 387 | -D Clang_ROOT=${{ steps.resolve-third-party-dir.outputs.third-party-dir }}/llvm-project/install
|
383 | 388 | -D duktape_ROOT=${{ steps.resolve-third-party-dir.outputs.third-party-dir }}/duktape/install
|
|
0 commit comments