mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
CI: Re-enable santizers in the clang plugins build
This commit is contained in:
8
.github/workflows/lagom-template.yml
vendored
8
.github/workflows/lagom-template.yml
vendored
@@ -77,13 +77,9 @@ jobs:
|
|||||||
|
|
||||||
if ${{ inputs.clang_plugins }} ; then
|
if ${{ inputs.clang_plugins }} ; then
|
||||||
echo "ccache_key=${{ inputs.fuzzer }}-CLANG_PLUGINS" >> "$GITHUB_OUTPUT"
|
echo "ccache_key=${{ inputs.fuzzer }}-CLANG_PLUGINS" >> "$GITHUB_OUTPUT"
|
||||||
echo "cmake_build_preset=CI" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "cmake_test_preset=default" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "cmake_options=-DENABLE_CLANG_PLUGINS=ON" >> "$GITHUB_OUTPUT"
|
echo "cmake_options=-DENABLE_CLANG_PLUGINS=ON" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
echo "ccache_key=${{ inputs.fuzzer }}" >> "$GITHUB_OUTPUT"
|
echo "ccache_key=${{ inputs.fuzzer }}" >> "$GITHUB_OUTPUT"
|
||||||
echo "cmake_build_preset=Sanitizer_CI" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "cmake_test_preset=Sanitizer" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "cmake_options=" >> "$GITHUB_OUTPUT"
|
echo "cmake_options=" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -114,7 +110,7 @@ jobs:
|
|||||||
if: ${{ inputs.fuzzer == 'NO_FUZZ' }}
|
if: ${{ inputs.fuzzer == 'NO_FUZZ' }}
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
cmake --preset ${{ steps.build-parameters.outputs.cmake_build_preset }} -B Build \
|
cmake --preset Sanitizer_CI -B Build \
|
||||||
-DINCLUDE_WASM_SPEC_TESTS=ON \
|
-DINCLUDE_WASM_SPEC_TESTS=ON \
|
||||||
-DWASM_SPEC_TEST_SKIP_FORMATTING=ON \
|
-DWASM_SPEC_TEST_SKIP_FORMATTING=ON \
|
||||||
${{ steps.build-parameters.outputs.cmake_options }} \
|
${{ steps.build-parameters.outputs.cmake_options }} \
|
||||||
@@ -184,7 +180,7 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
if: ${{ inputs.fuzzer == 'NO_FUZZ' }}
|
if: ${{ inputs.fuzzer == 'NO_FUZZ' }}
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: ctest --preset ${{ steps.build-parameters.outputs.cmake_test_preset }} --output-on-failure --test-dir Build
|
run: ctest --preset Sanitizer --output-on-failure --test-dir Build
|
||||||
env:
|
env:
|
||||||
TESTS_ONLY: 1
|
TESTS_ONLY: 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user