Skip to content

Commit

Permalink
Use old install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Gekkio committed Jun 9, 2024
1 parent 3468d4f commit e9b4f5a
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,52 @@
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:
ghidra:
- "11.0"
- "10.4"
- "10.3.3"
- "10.3.2"
- "10.3.1"
- "10.3"
include:
ghidra:
- version: "11.0"
build_date: "20231222"
sha256: "f1f240f91cf6b1dffc9a4148384ee3c6b269a8ae27c6f981577973e00043ad94"
- version: "10.4"
build_date: "20230928"
sha256: "6911d674798f145f8ea723fdd3eb67a8fae8c7be92e117bca081e6ef66acac19"
- version: "10.3.3"
build_date: "20230829"
sha256: "63833361bea8ef5ada1bc28cd2aa2ae4ab43204d2672b595500372582152eebe"
- version: "10.3.2"
build_date: "20230711"
sha256: "a658677a87d0be12ab65bd7962f471875b81a2dd2ea35d69cc3201555ca1bd6f"
- version: "10.3.1"
build_date: "20230614"
sha256: "0413b679436039cc136b950a6d8c24e80ce79da0a0a48993dfacee671b1c7974"
- version: "10.3"
build_date: "20230510"
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
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- uses: antoniovazquezblanco/[email protected]
with:
auth_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.ghidra }}
- run: ./gradlew build -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
- name: Install Ghidra
run: .github/scripts/install_ghidra.sh
- run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: GhidraBoy_Ghidra_${{ matrix.ghidra }}
name: GhidraBoy_Ghidra_${{ matrix.ghidra.version }}
path: build/distributions/*_GhidraBoy.zip
if-no-files-found: 'error'
release:
Expand Down

0 comments on commit e9b4f5a

Please sign in to comment.