Skip to content

Commit cbb12bb

Browse files
committed
corpus: remove submodule
A Git submodule was introduced in commit 341ac1e ("corpus: initial integration"). The main idea was to keep in sync source code of tests and their seed corpus. However, this approach is not convenient: - seed corpus updates often and someone need to regularly bump submodule version, otherwise outdated seed corpus is used - seed corpus takes about 5Gb and git clone of repository with tests takes significant time
1 parent 4fc4f85 commit cbb12bb

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.clusterfuzzlite/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ RUN apt-get update && apt-get install -y \
1212

1313
COPY . $SRC/lua-c-api-tests
1414
WORKDIR $SRC/lua-c-api-tests
15-
RUN rm -rf corpus
1615
RUN git clone --depth 1 --branch cfl https://github.com/ligurio/lua-c-api-corpus corpus
1716
COPY .clusterfuzzlite/build.sh $SRC/

.github/workflows/test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
runs-on: ubuntu-22.04
3838
steps:
3939
- uses: actions/checkout@v4
40-
with:
41-
fetch-depth: 0
42-
submodules: recursive
4340

4441
- name: Setup common packages
4542
run: |

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ LuaJIT).
1919
### Building
2020

2121
```sh
22-
git clone --jobs $(nproc) --recursive https://github.com/ligurio/lua-c-api-tests
22+
git clone https://github.com/ligurio/lua-c-api-tests
23+
cd lua-c-api-tests
24+
git clone https://github.com/ligurio/lua-c-api-corpus
2325
CC=clang CXX=clang++ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DUSE_LUA=ON [-DUSE_LUAJIT=ON]
2426
cmake --build build --parallel
2527
```

corpus

Submodule corpus deleted from a823138

0 commit comments

Comments
 (0)