From fdb23262e09d84b0db034715dbfa4ef5ad9fe7f6 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 3 Jun 2023 14:54:02 +0200 Subject: [PATCH] CI: Makes sure to update APT cache before installing packages --- .github/workflows/artifacts.yml | 2 +- .github/workflows/tests.yml | 21 +++++---------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 73bdc686..430a1c6e 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -21,7 +21,7 @@ jobs: submodules: true - run: rustup update && rustup target add aarch64-unknown-linux-gnu - run: | - sudo apt install -y g++-aarch64-linux-gnu + sudo apt update && sudo apt install -y g++-aarch64-linux-gnu echo -e "\n\n[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml - uses: Swatinem/rust-cache@v2 - run: cargo build --release diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bde185c3..be981cc7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -347,29 +347,18 @@ jobs: minimize-crashes: true parallel-fuzzing: true storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git - - fuzz_prune: - if: github.event_name != 'pull_request' - needs: fuzz_repo - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - uses: google/clusterfuzzlite/actions/build_fuzzers@v1 - with: - language: rust - github-token: ${{ secrets.GITHUB_TOKEN }} + continue-on-error: true - uses: google/clusterfuzzlite/actions/run_fuzzers@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - fuzz-seconds: 14400 + fuzz-seconds: 3600 mode: prune storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git + continue-on-error: true fuzz_coverage: if: github.event_name != 'pull_request' - needs: fuzz_prune + needs: fuzz_repo runs-on: ubuntu-latest steps: - uses: google/clusterfuzzlite/actions/build_fuzzers@v1 @@ -379,7 +368,7 @@ jobs: - uses: google/clusterfuzzlite/actions/run_fuzzers@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - fuzz-seconds: 600 + fuzz-seconds: 3600 mode: coverage sanitizer: coverage storage-repo: https://${{ secrets.FULL_ACCESS_TOKEN }}@github.com/oxigraph/clusterfuzzlite-oxigraph.git