Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
permissions:
packages: read
contents: read
actions: read
container: ghcr.io/${{ github.repository }}/ci:latest
outputs:
engine: ${{ steps.filter.outputs.engine }}
Expand All @@ -95,17 +96,21 @@ jobs:
echo "engine=false" >> "$GITHUB_OUTPUT"
fi
- if: steps.filter.outputs.engine == 'true'
uses: actions/download-artifact@v4
uses: dawidd6/action-download-artifact@v19
with:
name: bench-baseline
branch: main
workflow: ci.yaml
workflow_conclusion: success
path: bench/baselines/
continue-on-error: true
if_no_artifact_found: ignore
github_token: ${{ secrets.GITHUB_TOKEN }}
- if: steps.filter.outputs.engine == 'true' && github.event_name == 'pull_request'
run: make bench-cpp-compare
- if: steps.filter.outputs.engine == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
run: make bench-cpp-update
- if: steps.filter.outputs.engine == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: bench-baseline
path: bench/baselines/baseline.json
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Additional Files
notes.md
bitbridge-config.yaml
bench/baselines/baseline.json

### C++ template
# Prerequisites
Expand Down Expand Up @@ -52,5 +53,3 @@ CTestTestfile.cmake
_deps
CMakeUserPresets.json
.cache/

bench/baselines/baseline.json
Loading