Add development instructions #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request, workflow_dispatch] | |
permissions: | |
contents: write | |
jobs: | |
build_for_ghidra: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ghidra: | |
- "10.4" | |
- "10.3.3" | |
- "10.3.2" | |
- "10.3.1" | |
- "10.3" | |
- "10.2.3" | |
- "10.2.2" | |
- "10.2.1" | |
- "10.2" | |
- "10.1.5" | |
- "10.1.4" | |
- "10.1.3" | |
- "10.1.2" | |
- "10.1.1" | |
- "10.1" | |
- "10.0.4" | |
- "10.0.3" | |
- "10.0.2" | |
- "10.0.1" | |
- "10.0" | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v2 | |
- name: Install Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: "17" | |
java-package: jdk | |
architecture: x64 | |
- name: Install Ghidra ${{ matrix.version }} | |
uses: er28-0652/setup-ghidra@master | |
with: | |
version: ${{ matrix.ghidra }} | |
- name: Build the extension for Ghidra ${{ matrix.version }} | |
uses: gradle/[email protected] | |
with: | |
gradle-version: 7.3 | |
arguments: -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
if: github.ref == 'refs/heads/main' | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file_glob: true | |
file: dist/*ghidra-findcrypt.zip | |
prerelease: true | |
overwrite: true | |
body: "Nightly release" |