WIP #18
This file contains hidden or 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: release | |
on: | |
workflow_dispatch: # allow to manually trigger this workflow | |
push: | |
branches: | |
- michael/github-actions-debug | |
jobs: | |
build_natives: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- run: gradle -I gradle/support/fetchDependencies.gradle buildNatives | |
- name: Upload platform-specific binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{matrix.os}} | |
path: | | |
GPL/DemanglerGnu/build/os/* | |
Ghidra/Features/Decompiler/build/os/* | |
Ghidra/Features/FileFormats/build/os/* | |
build_ghidra: | |
needs: build_natives | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
merge-multiple: true | |
- run: git log -1 --pretty=format:%h | |
- run: tree GPL/DemanglerGnu/build/os Ghidra/Features/Decompiler/build/os Ghidra/Features/FileFormats/build/os | |
- run: gradle -I gradle/support/fetchDependencies.gradle buildGhidra | |
- run: tree build GPL/DemanglerGnu/build/os Ghidra/Features/Decompiler/build/os Ghidra/Features/FileFormats/build/os |