diff options
| author | 童宗振 <[email protected]> | 2023-12-06 01:32:10 +0000 |
|---|---|---|
| committer | 陆秋文 <[email protected]> | 2023-12-06 01:32:10 +0000 |
| commit | 0c5df1fe2e8451cb85ee25bf01fb111d15a4ed0f (patch) | |
| tree | b3094bf0c1d4ccf5701405af0ebd17b3a2807a21 /.gitlab-ci.yml | |
| parent | ec675d14711232e2ca3ddbc07b2d6f7209ea93c8 (diff) | |
add fuzz testing for the packet parser
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b706541..20eafe1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,17 @@ stages: - cp ~/rpm_upload_tools.py ./ - python3 rpm_upload_tools.py ${PULP3_REPO_NAME} ${PULP3_DIST_NAME} *.rpm +.fuzzing_mrzcpd_for_centos8: + image: $BUILD_IMAGE_CENTOS8 + extends: .build_before_script + script: + - mkdir -p build + - cd build + - cmake3 .. -DENABLE_FUZZING_TEST=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH=$BUILD_PREFIX -DMACHINE=$MACHINE + - make VERBOSE=1 + - cd fuzzing + - ./FuzzingPktParser -max_total_time=5 seeds/ + build-debug-for-centos8-icelake-server: stage: build extends: .build_mrzcpd_for_centos8 @@ -324,6 +335,18 @@ testing-package-release-for-centos8-generic: only: - /^dev.*$/i +fuzzing-debug-for-centos8-generic: + stage: package + extends: .fuzzing_mrzcpd_for_centos8 + tags: + - share + variables: + BUILD_TYPE: "Debug" + BUILD_PREFIX: "/opt/dpdk-21.11.4-rel-generic" + MACHINE: "corei7" + only: + - /^feature.*$/i + .build_mrzcpd_for_centos7: image: $BUILD_IMAGE_CENTOS7 extends: .build_before_script |
