diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index bfb7bf683..737586d60 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -139,6 +139,8 @@ jobs: fuzz: name: Run the Fuzzer runs-on: ubuntu-latest + env: + RUN_FOR: 60 steps: - uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 @@ -148,12 +150,36 @@ jobs: rustup default nightly - name: Install `cargo-fuzz` run: cargo install cargo-fuzz - - name: Run the fuzzer on date for 60 seconds + - name: Run fuzz_date for XX seconds + # TODO: fix the issues + continue-on-error: true shell: bash run: | ## Run it - cd src/uu/date - cargo +nightly fuzz run fuzz_target_1 -- -max_total_time=60 -detect_leaks=0 + cd fuzz + cargo +nightly fuzz run fuzz_date -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 + - name: Run fuzz_parse_glob for XX seconds + # TODO: fix the issues + continue-on-error: true + shell: bash + run: | + ## Run it + cd fuzz + cargo +nightly fuzz run fuzz_parse_glob -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 + - name: Run fuzz_parse_size for XX seconds + shell: bash + run: | + ## Run it + cd fuzz + cargo +nightly fuzz run fuzz_parse_size -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 + - name: Run fuzz_parse_time for XX seconds + # TODO: fix the issues + continue-on-error: true + shell: bash + run: | + ## Run it + cd fuzz + cargo +nightly fuzz run fuzz_parse_time -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0 style_lint: name: Style/lint