Skip to content

Commit

Permalink
Merge branch 'main' into wip/mapper-2-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Mar 11, 2024
2 parents a98f0e6 + dbe715f commit d3bba0d
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 d3bba0d

Please sign in to comment.