Skip to content

Add support for Ghidra 11.1.2 #103

Add support for Ghidra 11.1.2

Add support for Ghidra 11.1.2 #103

Workflow file for this run

name: ci
on: [push, pull_request, workflow_dispatch]
env:
GHIDRA_INSTALL_DIR: /home/runner/ghidra
jobs:
build_and_test:
name: Build + test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- ghidra_version: "11.1"
ghidra_build_date: "20240607"
ghidra_sha256: "293f60e04fa480315d2c467f4b2b4b10b3b6b5c8a8416bf7167fe082406e3be8"
- ghidra_version: "11.1.1"
ghidra_build_date: "20240614"
ghidra_sha256: "7fe8d9a6e7e5267f3cf487a0c046b21fb08d7a602facaa2e81ac2f09b5df2866"
- ghidra_version: "11.1.2"
ghidra_build_date: "20240709"
ghidra_sha256: "219ec130b901645779948feeb7cc86f131dd2da6c36284cf538c3a7f3d44b588"
env:
GHIDRA_VERSION: ${{ matrix.ghidra_version }}
GHIDRA_BUILD_DATE: ${{ matrix.ghidra_build_date }}
GHIDRA_SHA256: ${{ matrix.ghidra_sha256 }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Install Ghidra
run: .github/scripts/install_ghidra.sh
- run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: GhidraBoy_Ghidra_${{ matrix.ghidra_version }}
path: build/distributions/*_GhidraBoy.zip
if-no-files-found: 'error'
release:
if: github.ref_type == 'tag'
name: Create draft release
runs-on: ubuntu-latest
needs: build_and_test
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- name: Create release and upload distribution
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --verify-tag --generate-notes --draft "${{ github.ref_name }}"
gh release upload "${{ github.ref_name }}" GhidraBoy_Ghidra_*/*.zip