-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (31 loc) · 986 Bytes
/
test_extension.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 1.21
- uses: er28-0652/setup-ghidra@master
with:
version: "11.2.1"
- name: Build Extension
run: gradle buildExtension
- name: Upload built extension as artifact for debugging
uses: actions/upload-artifact@v4
with:
path: ./dist/*zip
retention-days: 1
- name: Install Extension
run: unzip ./dist/*zip -d $GHIDRA_INSTALL_DIR/Ghidra/Extensions
- name: Run Tests
run: echo "Execute your tests here!"