Skip to content

Commit f21ff6c

Browse files
committed
Add macOS tests
1 parent 453bb3d commit f21ff6c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
16+
1617
- name: Set up JDK 11
1718
uses: actions/setup-java@v1
1819
with:
1920
java-version: 11.0.4
2021
architecture: x64
22+
2123
- uses: er28-0652/setup-ghidra@master
2224
with:
2325
version: "9.1.2"
@@ -55,14 +57,17 @@ jobs:
5557
runs-on: windows-latest
5658
steps:
5759
- uses: actions/checkout@v2
60+
5861
- name: Set up JDK 11
5962
uses: actions/setup-java@v1
6063
with:
6164
java-version: 11.0.4
6265
architecture: x64
66+
6367
- uses: er28-0652/setup-ghidra@master
6468
with:
6569
version: "9.1.2"
70+
6671
- uses: actions/setup-python@v2
6772
with:
6873
python-version: '3.x'
@@ -80,3 +85,34 @@ jobs:
8085
cd test
8186
copy %pythonLocation%\python.exe python3.exe
8287
call run_tests %GHIDRA_INSTALL_DIR%
88+
89+
test-macos:
90+
runs-on: macos-latest
91+
steps:
92+
- uses: actions/checkout@v2
93+
94+
- name: Set up JDK 11
95+
uses: actions/setup-java@v1
96+
with:
97+
java-version: 11.0.4
98+
architecture: x64
99+
100+
- uses: er28-0652/setup-ghidra@master
101+
with:
102+
repo-token: ${{ secrets.GITHUB_TOKEN }}
103+
version: "9.1.2"
104+
105+
- uses: actions/setup-python@v2
106+
with:
107+
python-version: '3.x'
108+
109+
- name: Build jar
110+
run: |
111+
cd lib
112+
./fetch_libs_and_build.sh
113+
mv target/libdwarf.jar ../src
114+
115+
- name: test
116+
run: |
117+
cd test
118+
./generate_dbg.py $GHIDRA_INSTALL_DIR

0 commit comments

Comments
 (0)