srctree

Robin Linden parent 9ae2c4d5 836dec8f
ci: Add a fuzz test sanity check

inlinesplit
.github/workflows/ci.yaml added: 11, removed: 2, total 9
@@ -41,6 +41,7 @@ jobs:
os: ubuntu-22.04
compiler: clang
version: 18
apt: libclang-rt-18-dev
 
- name: clang-15-libc++
os: ubuntu-22.04
@@ -54,7 +55,7 @@ jobs:
compiler: clang
version: 17
bazel: --config libc++
apt: libc++abi-17-dev libc++-17-dev
apt: libc++abi-17-dev libc++-17-dev libclang-rt-17-dev
 
steps:
- name: Prepare gcc install
@@ -103,6 +104,14 @@ jobs:
run: |
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
bazel run browser:tui file://$(pwd)/example.html ${{ matrix.bazel }}
# TODO(robinlinden): Run all fuzz tests for "some time" in CI.
- name: Fuzz test sanity check
if: startsWith(matrix.compiler, 'clang') && !endsWith(matrix.name, 'libc++')
run: |
bazel run wasm:leb128_fuzz_test_run \
--config libfuzzer \
${{ matrix.bazel }} \
-- --timeout_secs=10
 
coverage:
name: linux-${{ matrix.compiler }}-${{ matrix.version }}-coverage