Skip to content

Commit

Permalink
Merge pull request #8 from antoniovazquezblanco/ci
Browse files Browse the repository at this point in the history
CI: Add compilation pipeline
  • Loading branch information
dracc authored Jun 21, 2024
2 parents 143e752 + d97d539 commit 13828d9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build
on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
ghidra:
- "11.1.1"
- "11.1"

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

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

- name: Install Gradle
uses: gradle/actions/setup-gradle@v3

- name: Install Ghidra ${{ matrix.ghidra }}
uses: antoniovazquezblanco/[email protected]
with:
auth_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.ghidra }}

- name: Build
run: gradle buildExtension -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}

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

0 comments on commit 13828d9

Please sign in to comment.