Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .clusterfuzzlite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ RUN apt-get update && apt-get install -y \

COPY . $SRC/lua-c-api-tests
WORKDIR $SRC/lua-c-api-tests
RUN git submodule update --init --recursive --force
RUN cd corpus && git checkout cfl
RUN rm -rf corpus
RUN git clone --depth 1 --branch cfl https://github.com/ligurio/lua-c-api-corpus corpus
COPY .clusterfuzzlite/build.sh $SRC/
6 changes: 3 additions & 3 deletions .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ do
echo "Copying for $module";
cp $f $OUT/
if [ -e "$corpus_dir" ]; then
find "$corpus_dir" -mindepth 1 -maxdepth 1 | zip -@ -j $OUT/"$name"_seed_corpus.zip
find "$corpus_dir" -mindepth 1 -maxdepth 1 | zip -@ -j --quiet $OUT/"$name"_seed_corpus.zip
fi

dict_path="corpus/$name.dict"
if [ -e "$dict_path" ]; then
zip -urj $OUT/"$name"_seed_corpus.zip $dict_path
zip -urj $OUT/"$name"_seed_corpus.zip "$dict_path"
fi

options_path="corpus/$name.options"
if [ -e "$options_path" ]; then
zip -urj $OUT/"$name"_seed_corpus.zip $options_path
zip -urj $OUT/"$name"_seed_corpus.zip "$options_path"
fi
done
2 changes: 1 addition & 1 deletion .github/workflows/cflite_batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions: read-all

jobs:
luajit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: read-all

jobs:
luajit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cflite_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# are covered by fuzzing.

Coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
# code coverage.

Pruning:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ permissions: read-all

jobs:
luajit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down