-
Notifications
You must be signed in to change notification settings - Fork 419
Feat: SSE POST Events for lcov dump and #1498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a9872b7
feat: server hooks for lcov and corpus reuse
GalloDaSballo 87e7b45
fix: size
GalloDaSballo 6f528c1
hope
GalloDaSballo e661d28
feat: POST reload_corpus
GalloDaSballo 175b4ea
avoid SSE to get stuck at the end of the execution
gustavo-grieco 15d18fb
Merge upstream PR #1493: fix SSE getting stuck at end of execution
GalloDaSballo 5a00f7f
chore: new release
GalloDaSballo 2404131
chore: release wtih cache
GalloDaSballo 86c8d05
Merge pull request #1 from Recon-Fuzz/main
GalloDaSballo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,95 @@ | ||
| name: "Build & Release" | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: 'Version name (e.g., 2.3.0-custom)' | ||
| required: true | ||
| default: 'dev' | ||
| push: | ||
| branches: | ||
| - main | ||
| tags: | ||
| - "v*" | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build Linux (x86_64) | ||
| timeout-minutes: 30 | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| version: ${{ steps.version.outputs.version }} | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Install Nix | ||
| uses: DeterminateSystems/nix-installer-action@v21 | ||
|
|
||
| - name: Configure Cachix | ||
| uses: cachix/cachix-action@v16 | ||
| with: | ||
| name: trailofbits | ||
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | ||
|
|
||
| - name: Set version | ||
| id: version | ||
| run: | | ||
| if [[ -n "${{ github.event.inputs.version }}" ]]; then | ||
| echo "version=${{ github.event.inputs.version }}" >> "$GITHUB_OUTPUT" | ||
| elif [[ "${{ github.ref }}" =~ ^refs/tags/v.* ]]; then | ||
| echo "version=$(echo "${{ github.ref }}" | sed 's#^refs/tags/v##')" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "version=HEAD-$(echo "${{ github.sha }}" | cut -c1-7)" >> "$GITHUB_OUTPUT" | ||
| fi | ||
|
|
||
| - name: Build redistributable echidna | ||
| run: | | ||
| nix build ".#packages.x86_64-linux.echidna-redistributable" --out-link redistributable | ||
| tar -czf "echidna-${{ steps.version.outputs.version }}-x86_64-linux.tar.gz" -C ./redistributable/bin/ echidna | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-artifact@v5 | ||
| with: | ||
| name: echidna-x86_64-linux | ||
| path: echidna-${{ steps.version.outputs.version }}-x86_64-linux.tar.gz | ||
|
|
||
| release: | ||
| name: Create release | ||
| needs: [build] | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Download artifacts | ||
| uses: actions/download-artifact@v6 | ||
| with: | ||
| pattern: echidna-* | ||
| merge-multiple: true | ||
|
|
||
| - name: List artifacts | ||
| run: ls -la echidna-*.tar.gz | ||
|
|
||
| - name: Create/Update rolling release (main branch) | ||
| if: github.ref == 'refs/heads/main' | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| tag_name: latest | ||
| name: "Echidna Latest (main)" | ||
| body: | | ||
| Rolling release from main branch. | ||
| Version: ${{ needs.build.outputs.version }} | ||
| Commit: ${{ github.sha }} | ||
| prerelease: true | ||
| files: ./echidna-*.tar.gz | ||
|
|
||
| - name: Create tagged release | ||
| if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| draft: true | ||
| name: "Echidna ${{ needs.build.outputs.version }}" | ||
| tag_name: ${{ github.ref_name || format('v{0}', github.event.inputs.version) }} | ||
| files: ./echidna-*.tar.gz |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I added it to generate builds on main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think once it is here as a PR, you don't need this file and can be removed. Perhaps @elopez can confirm this.