4 Commits

Author SHA1 Message Date
a1c2fcdc5f ci: fix jobs not exiting on failure
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 43s
2025-12-13 21:46:59 -06:00
2b133eca35 scripts: fuzzer: add fork count 2025-12-13 21:46:59 -06:00
fe8aa9c452 ci: build: remove debugging echos
ci: build: remove redundant source
2025-12-13 21:46:59 -06:00
297fdecd55 ci: fuzz: add timeout 2025-12-13 21:46:52 -06:00
2 changed files with 3 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ on: [push]
defaults:
run:
shell: bash -l {0}
shell: bash -le {0}
jobs:
build-oci-image:
@@ -98,10 +98,6 @@ jobs:
- name: build and check
run: |
echo $USER
echo "CC=$CC"
echo "CXX=$CXX"
source /etc/profile
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized -Ddocs=enabled build
meson compile -C build
@@ -152,7 +148,7 @@ jobs:
which emerge
meson setup -Dfuzz=enabled -Dtests=enabled -Dbuildtype=debugoptimized build
meson compile atom_parser_fuzzer:alias -C build
./scripts/fuzz.sh
timeout 10m ./scripts/fuzz.sh
check-format:
runs-on: brutalisk

View File

@@ -11,4 +11,5 @@ ${PROJECT_DIR}/scripts/atom.py <${in} >${out} \
| ${PROJECT_DIR}/build/fuzz/atom/parser/fuzzer >${in} <${out} \
${PROJECT_DIR}/build/atom_parser_fuzzer_corpus \
-only_ascii=1 \
-fork=$(($(nproc) / 2))
"$@"