Skip to content

CI: Refactor for multi target ghidra - #83

Open
dreamsyntax wants to merge 1 commit into
XboxDev:masterfrom
dreamsyntax:master
Open

CI: Refactor for multi target ghidra#83
dreamsyntax wants to merge 1 commit into
XboxDev:masterfrom
dreamsyntax:master

Conversation

@dreamsyntax

@dreamsyntax dreamsyntax commented Apr 23, 2026

Copy link
Copy Markdown

I've updated the CI flow to use the setup-ghidra action, similar to how we did it in ghidra_psx_ldr.

I've taken care to match how you were running tests on all 3 target platforms, specifically because of the XbSymbolDatabase binaries.

I've marked the two areas to set the Ghidra versions with # GHIDRA VERSIONS
I opted to do every version of Ghidra 12.
I only run the tests against latest (12.0.4) because of rate limits with the amount of setup requests running against all does.
It can still happen with the number of runners unfortunately - as you can see here https://github.com/dreamsyntax/ghidra-xbe/actions/runs/24856148177/job/72769728906.

Passing GITHUB_TOKEN to attempt to avoid that.

I verified each test does pass on 12.0 - 12.0.4 before opening this.

This makes the build.sh script redundant, but I left it in the repo incase people use it for local setups.
Also updated the current github actions versions.

The flow is:

  1. Build plugin for all ghidra versions specified
  2. Run tests on macos/windows/linux
  3. Auto release all artifacts in the same build-YYYYMMDDHHMM format the old script did, whenever master is updated

Example successful workflow in master:
https://github.com/dreamsyntax/ghidra-xbe/actions/runs/24856148177

Example release artifacts (auto generated from above)
https://github.com/dreamsyntax/ghidra-xbe/releases

Lastly thank you for all the effort on this! I've been using this extension quite regularly lately and its been a great help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant