💚 Pipelines revision #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Fuzz Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
env: | |
SOLANA_CLI_VERSION: 1.18.18 | |
HONGGFUZZ_VERSION: 0.5.56 | |
jobs: | |
checks: | |
runs-on: ubuntu-20.04 | |
needs: | |
- simple-cpi-6 | |
- arbitrary-limit-inputs-5 | |
steps: | |
- run: echo "Done" | |
simple-cpi-6: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout Repository | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and its Packages | |
- name: Setup Rust Environment | |
uses: ./.github/actions/setup-rust/ | |
- name: Install Trident | |
uses: ./.github/actions/setup-trident/ | |
- name: Setup Honggfuzz | |
uses: ./.github/actions/setup-honggfuzz/ | |
# Cache the target folder, which stores build artifacts for the current workspace | |
- name: Cache Target Folder | |
uses: actions/cache@v3 | |
with: | |
path: examples/fuzz-tests/simple-cpi-6/trident-tests/fuzz_tests/fuzzing/hfuzz_target # default folder to store build artifacts | |
key: target-${{ runner.os }}-simple-cpi-6 | |
- name: Test Fuzz | |
working-directory: examples/fuzz-tests/simple-cpi-6 | |
run: trident fuzz run fuzz_0 | |
arbitrary-limit-inputs-5: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout Repository | |
- uses: Swatinem/rust-cache@v2 | |
name: Cache Rust and its Packages | |
- name: Setup Rust Environment | |
uses: ./.github/actions/setup-rust/ | |
- name: Install Trident | |
uses: ./.github/actions/setup-trident/ | |
- name: Setup Honggfuzz | |
uses: ./.github/actions/setup-honggfuzz/ | |
# Cache the target folder, which stores build artifacts for the current workspace | |
- name: Cache Target Folder | |
uses: actions/cache@v3 | |
with: | |
path: examples/fuzz-tests/arbitrary-limit-inputs-5/trident-tests/fuzz_tests/fuzzing/hfuzz_target # default folder to store build artifacts | |
key: target-${{ runner.os }}-arbitrary-limit-inputs-5 | |
- name: Test Fuzz | |
working-directory: examples/fuzz-tests/arbitrary-limit-inputs-5 | |
run: trident fuzz run fuzz_0 |