Skip to content
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

CI improvements #16

Merged
merged 7 commits into from
Jun 9, 2024
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
45 changes: 37 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,47 @@
name: ci
on: push
on: [push, pull_request, workflow_dispatch]

env:
GHIDRA_VERSION: "11.0"
GHIDRA_BUILD_DATE: 20231222
GHIDRA_SHA256: f1f240f91cf6b1dffc9a4148384ee3c6b269a8ae27c6f981577973e00043ad94
GHIDRA_INSTALL_DIR: /home/runner/ghidra

jobs:
build_and_test:
name: Build + test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- ghidra_version: "11.0.3"
ghidra_build_date: "20240410"
ghidra_sha256: "2462a2d0ab11e30f9e907cd3b4aa6b48dd2642f325617e3d922c28e752be6761"
- ghidra_version: "11.0.2"
ghidra_build_date: "20240326"
ghidra_sha256: "4f16ae3f288f8c01fd1872e8e55b25c79744e7b1e8a9383c5e576668ca7d1906"
- ghidra_version: "11.0.1"
ghidra_build_date: "20240130"
ghidra_sha256: "a0bc9450aa3a231096b13a823c66311b9f84cb9cec4624393221cfed40ef6924"
- ghidra_version: "11.0"
ghidra_build_date: "20231222"
ghidra_sha256: "f1f240f91cf6b1dffc9a4148384ee3c6b269a8ae27c6f981577973e00043ad94"
- ghidra_version: "10.4"
ghidra_build_date: "20230928"
ghidra_sha256: "6911d674798f145f8ea723fdd3eb67a8fae8c7be92e117bca081e6ef66acac19"
- ghidra_version: "10.3.3"
ghidra_build_date: "20230829"
ghidra_sha256: "63833361bea8ef5ada1bc28cd2aa2ae4ab43204d2672b595500372582152eebe"
- ghidra_version: "10.3.2"
ghidra_build_date: "20230711"
ghidra_sha256: "a658677a87d0be12ab65bd7962f471875b81a2dd2ea35d69cc3201555ca1bd6f"
- ghidra_version: "10.3.1"
ghidra_build_date: "20230614"
ghidra_sha256: "0413b679436039cc136b950a6d8c24e80ce79da0a0a48993dfacee671b1c7974"
- ghidra_version: "10.3"
ghidra_build_date: "20230510"
ghidra_sha256: "4e990af9b22be562769bb6ce5d4d609fbb45455a7a2f756167b8cdcdb75887fc"
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
Expand All @@ -23,7 +54,7 @@ jobs:
- run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: distribution
name: GhidraBoy_Ghidra_${{ matrix.ghidra_version }}
path: build/distributions/*_GhidraBoy.zip
if-no-files-found: 'error'
release:
Expand All @@ -36,11 +67,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: distribution
- 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.zip
gh release upload "${{ github.ref_name }}" GhidraBoy_Ghidra_*/*.zip
12 changes: 11 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

**Very experimental! No compatibility guarantees!**

Ghidra version: Ghidra 11.0_PUBLIC_20231222
Supported Ghidra versions:

- 11.0.3
- 11.0.2
- 11.0.1
- 11.0
- 10.4
- 10.3.3
- 10.3.2
- 10.3.1
- 10.3

![Tetris disassembly](screenshot.png)

Expand Down