8 Commits

Author SHA1 Message Date
824031bae1 test
Some checks failed
Gentoo Utils / build-oci-image (push) Successful in 6s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / docs (push) Successful in 12s
Gentoo Utils / build (push) Successful in 19s
Gentoo Utils / test (push) Successful in 27s
Gentoo Utils / fuzz (push) Failing after 10m34s
2025-12-13 21:59:24 -06:00
8cf9d59ffc test
Some checks failed
Gentoo Utils / build-oci-image (push) Successful in 6s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / docs (push) Successful in 12s
Gentoo Utils / build (push) Successful in 19s
Gentoo Utils / fuzz (push) Failing after 12s
Gentoo Utils / test (push) Successful in 27s
2025-12-13 21:58:14 -06:00
32c419da8b ci: fix jobs not exiting on failure 2025-12-13 21:58:14 -06:00
33dd059498 scripts: fuzzer: add fork count 2025-12-13 21:58:12 -06:00
fd12ce25cd ci: build: remove debugging echos
ci: build: remove redundant source
2025-12-13 21:49:19 -06:00
b450588235 ci: fuzz: add timeout 2025-12-13 21:49:19 -06:00
3cd4fdd0a2 ci: add fuzzer job 2025-12-13 21:49:15 -06:00
73930ec63d scripts: add fuzzer helper script 2025-12-13 21:22:53 -06:00
2 changed files with 3 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ on: [push]
defaults:
run:
shell: bash -le -o pipefail {0}
shell: bash -le {0}
jobs:
build-oci-image:
@@ -126,7 +126,6 @@ jobs:
env:
CC: 'clang'
CXX: 'clang++'
FUZZER_TIMEOUT_S: 300
needs: [build-oci-image, build]
container:
image: ${{ vars.REGISTRY_URL }}/${{ gitea.repository }}:${{ needs.build-oci-image.outputs.image_tag }}

View File

@@ -7,17 +7,9 @@ out=$(mktemp -u) || exit $?
mkfifo ${in} ${out} || exit $?
if [[ -z "$FUZZER_TIMEOUT_S" ]]; then
FUZZER_TIMEOUT_S=600
fi
${PROJECT_DIR}/scripts/atom.py <${in} >${out} \
| ${PROJECT_DIR}/build/fuzz/atom/parser/fuzzer -max_total_time=$FUZZER_TIMEOUT_S >${in} <${out} \
| ${PROJECT_DIR}/build/fuzz/atom/parser/fuzzer >${in} <${out} \
${PROJECT_DIR}/build/atom_parser_fuzzer_corpus \
-only_ascii=1 \
-fork=2 \
-timeout=2 \
-max_total_time=$FUZZER_TIMEOUT_S \
-timeout_exitcode=0 \
-fork=$(($(nproc) / 2)) \
"$@"