Skip to content

Commit 151d542

Browse files
committed
try mac/win
1 parent 952fa49 commit 151d542

File tree

1 file changed

+25
-23
lines changed

1 file changed

+25
-23
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,32 @@ on:
66
- michael/github-actions-debug
77
jobs:
88
build-natives:
9-
runs-on: ubuntu-latest
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [macos-latest, windows-latest]
1013
steps:
11-
# TODO back to the real build once the upload/download wiring works
12-
# - uses: actions/checkout@v4
13-
# with:
14-
# fetch-depth: 0
15-
# - name: Set up JDK
16-
# uses: actions/setup-java@v4
17-
# with:
18-
# distribution: temurin
19-
# java-version: 21
20-
# - name: Setup Gradle
21-
# uses: gradle/actions/setup-gradle@v4
22-
# - run: gradle -I gradle/support/fetchDependencies.gradle buildNatives
23-
- name: for simplicity just quickly create some dummy files
24-
run: |
25-
mkdir -p Ghidra/Features/Decompiler/build/os/linux_x86_64
26-
mkdir -p Ghidra/Features/FileFormats/build/os/linux_x86_64
27-
mkdir -p GPL/DemanglerGnu/build/os/linux_x86_64
28-
echo aaa > Ghidra/Features/Decompiler/build/os/linux_x86_64/decompile
29-
echo bbb > Ghidra/Features/Decompiler/build/os/linux_x86_64/sleigh
30-
echo ccc > GPL/DemanglerGnu/build/os/linux_x86_64/demangler_gnu_v2_24
31-
echo ddd > GPL/DemanglerGnu/build/os/linux_x86_64/demangler_gnu_v2_41
32-
echo eee > Ghidra/Features/FileFormats/build/os/linux_x86_64/lzfse
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
- name: Set up JDK
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: temurin
21+
java-version: 21
22+
- name: Setup Gradle
23+
uses: gradle/actions/setup-gradle@v4
24+
- run: gradle -I gradle/support/fetchDependencies.gradle buildNatives
25+
# - name: for simplicity just quickly create some dummy files
26+
# run: |
27+
# mkdir -p Ghidra/Features/Decompiler/build/os/linux_x86_64
28+
# mkdir -p Ghidra/Features/FileFormats/build/os/linux_x86_64
29+
# mkdir -p GPL/DemanglerGnu/build/os/linux_x86_64
30+
# echo aaa > Ghidra/Features/Decompiler/build/os/linux_x86_64/decompile
31+
# echo bbb > Ghidra/Features/Decompiler/build/os/linux_x86_64/sleigh
32+
# echo ccc > GPL/DemanglerGnu/build/os/linux_x86_64/demangler_gnu_v2_24
33+
# echo ddd > GPL/DemanglerGnu/build/os/linux_x86_64/demangler_gnu_v2_41
34+
# echo eee > Ghidra/Features/FileFormats/build/os/linux_x86_64/lzfse
3335
- name: Upload platform-specific binaries
3436
uses: actions/upload-artifact@v4
3537
with:

0 commit comments

Comments
 (0)