@@ -128,6 +128,8 @@ jobs:
128128 # https://github.com/llvm/llvm-project/issues/59827: disabled 2b/23 for clang-17 with libstdc++13 in 24.04
129129 - { compiler: clang-17, cxxstd: '11,14,17,20', os: ubuntu-24.04 }
130130 - { compiler: clang-18, cxxstd: '11,14,17,20,23,2c', os: ubuntu-24.04 }
131+ - { name: Run code fuzzer, fuzzing: yes,
132+ compiler : clang-18, cxxstd: '20', os: ubuntu-24.04, variant: debug, link: static }
131133
132134 # libc++
133135 - { compiler: clang-6.0, cxxstd: '11,14', os: ubuntu-22.04, container: 'ubuntu:18.04', stdlib: libc++, install: 'clang-6.0 libc++-dev libc++abi-dev' }
@@ -296,7 +298,8 @@ jobs:
296298 # More entries can be added in the same way, see the B2_ARGS assignment in ci/enforce.sh for the possible keys.
297299 # B2_DEFINES: ${{matrix.defines}}
298300 # Variables set here (to non-empty) will override the top-level environment variables, e.g.
299- # B2_VARIANT: ${{matrix.variant}}
301+ B2_VARIANT : ${{matrix.variant}}
302+ B2_LINK : ${{matrix.link}}
300303 B2_UBSAN : ${{matrix.ubsan}}
301304 run : source ci/github/install.sh
302305
@@ -368,6 +371,11 @@ jobs:
368371 COVERITY_SCAN_NOTIFICATION_EMAIL : ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
369372 COVERITY_SCAN_TOKEN : ${{ secrets.COVERITY_SCAN_TOKEN }}
370373
374+ - name : Run fuzzing
375+ if : matrix.fuzzing
376+ run : B2_TARGETS="libs/$SELF/fuzzing" ci/build.sh
377+ env : {B2_FLAGS: -a}
378+
371379 windows :
372380 defaults :
373381 run :
0 commit comments