forked from wormholelabs-xyz/solana-world-id-program
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (31 loc) · 1.02 KB
/
run-fuzz-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Test Fuzz Tests
on:
workflow_dispatch:
pull_request:
env:
SOLANA_CLI_VERSION: 1.18.18
HONGGFUZZ_VERSION: 0.5.56
TRIDENT_COMMIT_HASH: eb8f647104209323b53e3637d3d3c5b7d140d368 # Set desired commit hash here
jobs:
fuzz_0:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
name: Checkout Repository
- name: Set Anchor Version
run: echo "ANCHOR_VERSION=0.30.1" >> $GITHUB_ENV
- uses: Swatinem/rust-cache@v2
name: Cache Rust and its Packages
- name: Setup Rust Environment
uses: ./.github/actions/setup-rust/
# - name: Setup Solana Environment
# uses: ./.github/actions/setup-solana/
- name: Setup Trident with Specified Commit
uses: ./.github/actions/setup-trident/
with:
commit-hash: ${{ env.TRIDENT_COMMIT_HASH }}
- name: Setup Honggfuzz
uses: ./.github/actions/setup-honggfuzz/
id: rust-setup
- name: Run Fuzz Tests
run: trident fuzz run --with-exit-code fuzz_0