Skip to content

Commit

Permalink
Merge branch 'main' into wip/pr-mapper-10
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Mar 11, 2024
2 parents 7b02af4 + dbe715f commit 89b0766
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build
on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
ghidra:
- "11.0"
- "10.4"
- "10.3.3"
- "10.3.2"
- "10.3.1"
- "10.3"

steps:
- name: Clone Repository
uses: actions/checkout@v4

- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2.11.1

- name: Install Ghidra ${{ matrix.ghidra }}
uses: antoniovazquezblanco/setup-ghidra@v1.2.0
with:
auth_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.ghidra }}

- name: Build the extension for Ghidra ${{ matrix.ghidra }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} -p GhidraNes

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: GhidraNes_Ghidra_${{ matrix.ghidra }}
path: GhidraNes/dist/*.zip

0 comments on commit 89b0766

Please sign in to comment.