Skip to content

Commit

Permalink
Merge pull request #329 from roblabla/cache-ghidra-obj-compare
Browse files Browse the repository at this point in the history
Cache ghidra obj in compare job
  • Loading branch information
roblabla authored Nov 20, 2024
2 parents ddc0c7f + ebe6189 commit a008ddd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ jobs:
run: curl -L https://raw.githubusercontent.com/${{steps.workflow_run_info.outputs.head_repository_full_name}}/${{steps.workflow_run_info.outputs.head_sha}}/objdiff.json -o objdiff.json --fail
- name: Use mapping.csv from target repo
run: curl -L https://raw.githubusercontent.com/${{steps.workflow_run_info.outputs.head_repository_full_name}}/${{steps.workflow_run_info.outputs.head_sha}}/config/mapping.csv -o config/mapping.csv --fail
- uses: actions/cache@v4
id: ghidra-obj-cache
with:
path: build/objdiff/orig
key: ghidra-objs-${{ hashFiles('config/mapping.csv') }}
- name: Generate objs using ghidra-delinker
if: steps.ghidra-obj-cache.outputs.cache-hit != 'true'
run: python scripts/export_ghidra_objs.py --import-csv
- name: Create diff summary
run: python scripts/diff_all_functions.py --diff-method=objdiff > $env:GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit a008ddd

Please sign in to comment.