forked from firedancer-io/firedancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Generate Firedancer Fuzz Targets | ||
on: | ||
workflow_call: | ||
inputs: | ||
previous_action_outputs: | ||
description: 'Outputs from the previous action' | ||
required: true | ||
type: string | ||
jobs: | ||
generate-fuzz-targets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
- name: Download artifacts from previous action | ||
id: get-artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: build | ||
merge-multiple: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y zip unzip | ||
- name: Generate fuzz targets and .fc files | ||
run: | | ||
chmod +x bundle-binaries-fc.sh | ||
./contrib/test/bundle-binaries-fc.sh ${{ steps.get-artifacts.outputs.download-path }} fc-fd-${{ github.run_id }}.zip | ||
- name: Upload merged zipfile | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: fc-fd-${{ github.run_id }}.zip | ||
path: fc-fd-${{ github.run_id }}.zip |
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