Skip to content

Commit

Permalink
💚 Pipeline Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan committed Oct 2, 2024
1 parent 6e030ab commit fa460fd
Show file tree
Hide file tree
Showing 10 changed files with 322 additions and 300 deletions.
24 changes: 24 additions & 0 deletions .github/actions/setup-honggfuzz/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Setup Honggfuzz"
description: "Setup Honggfuzz"

runs:
using: "composite"
steps:
- uses: actions/cache@v3
name: Cache Honggfuzz
id: cache-honggfuzz
with:
path: |
~/.cache/honggfuzz/
~/.local/share/honggfuzz/
key: honggfuzz-${{ runner.os }}-${{ env.HONGGFUZZ_VERSION }}

- name: Install Dependencies (binutils-dev & libunwind-dev)
run: |
sudo apt-get update
sudo apt-get install -y binutils-dev libunwind-dev
shell: bash

- name: Install Honggfuzz
run: cargo install honggfuzz --version ${{ env.HONGGFUZZ_VERSION }}
shell: bash
4 changes: 3 additions & 1 deletion .github/actions/setup-trident/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ runs:
shell: bash

- name: Install Trident
run: cargo install --path crates/cli
run: |
cd trident
cargo install --path crates/cli
shell: bash
8 changes: 4 additions & 4 deletions .github/workflows/run-fuzz-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
TRIDENT_COMMIT_HASH: eb8f647104209323b53e3637d3d3c5b7d140d368 # Set desired commit hash here

jobs:
simple-cpi-6:
fuzz_0:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
Expand All @@ -25,8 +25,8 @@ jobs:
- name: Setup Rust Environment
uses: ./.github/actions/setup-rust/

- name: Setup Solana Environment
uses: ./.github/actions/setup-solana/
# - name: Setup Solana Environment
# uses: ./.github/actions/setup-solana/

- name: Setup Trident with Specified Commit
uses: ./.github/actions/setup-trident/
Expand All @@ -38,4 +38,4 @@ jobs:
id: rust-setup

- name: Run Fuzz Tests
run: trident fuzz run fuzz_0
run: trident fuzz run --with-exit-code fuzz_0
Loading

0 comments on commit fa460fd

Please sign in to comment.