|
6 | 6 | - michael/github-actions-debug |
7 | 7 | jobs: |
8 | 8 | build_natives: |
9 | | - runs-on: ${{matrix.os}}-latest |
| 9 | + runs-on: ${{matrix.os}} |
10 | 10 | strategy: |
11 | 11 | matrix: |
12 | | - # os: [macos-latest, windows-latest] |
13 | | - # os: [macos-latest, windows-latest, ubuntu-latest] |
14 | | - os: [ubuntu] |
| 12 | + os: [macos-latest, windows-latest] |
15 | 13 | steps: |
16 | 14 | - uses: actions/checkout@v4 |
17 | 15 | with: |
18 | 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: Upload platform-specific binaries |
| 26 | + uses: actions/upload-artifact@v4 |
| 27 | + with: |
| 28 | + name: ${{matrix.os}} |
| 29 | + path: | |
| 30 | + GPL/DemanglerGnu/build/os/* |
| 31 | + Ghidra/Features/Decompiler/build/os/* |
| 32 | + Ghidra/Features/FileFormats/build/os/* |
| 33 | + build_ghidra: |
| 34 | + needs: build_natives |
| 35 | + runs-on: ubuntu-latest |
| 36 | + steps: |
| 37 | + - uses: actions/checkout@v4 |
| 38 | + with: |
| 39 | + fetch-depth: 0 |
| 40 | + - name: Set up JDK |
| 41 | + uses: actions/setup-java@v4 |
| 42 | + with: |
| 43 | + distribution: temurin |
| 44 | + java-version: 21 |
| 45 | + - name: Setup Gradle |
| 46 | + uses: gradle/actions/setup-gradle@v4 |
| 47 | + - uses: actions/download-artifact@v4 |
| 48 | + with: |
| 49 | + merge-multiple: true |
| 50 | + - name: Display structure of downloaded files |
| 51 | + run: tree |
19 | 52 | - run: git status |
20 | 53 | - run: git log -1 --pretty=format:%h |
21 | | - - run: echo ${{matrix.os}} |
22 | | - # - run: echo ${{matrix.os}} | cut -d- -f1 |
23 | | - # - name: Set up JDK |
24 | | - # uses: actions/setup-java@v4 |
25 | | - # with: |
26 | | - # distribution: temurin |
27 | | - # java-version: 21 |
28 | | - # - name: Setup Gradle |
29 | | - # uses: gradle/actions/setup-gradle@v4 |
30 | | - # - run: gradle -I gradle/support/fetchDependencies.gradle buildNatives |
31 | | - # - name: Upload platform-specific binaries |
32 | | - # uses: actions/upload-artifact@v4 |
33 | | - # with: |
34 | | - # name: ${{matrix.os}} |
35 | | - # path: | |
36 | | - # GPL/DemanglerGnu/build/os/* |
37 | | - # Ghidra/Features/Decompiler/build/os/* |
38 | | - # Ghidra/Features/FileFormats/build/os/* |
39 | | - # build_ghidra: |
40 | | - # needs: build_natives |
41 | | - # runs-on: ubuntu-latest |
42 | | - # steps: |
43 | | - # - uses: actions/download-artifact@v4 |
44 | | - # with: |
45 | | - # merge-multiple: true |
46 | | - # - name: Display structure of downloaded files |
47 | | - # run: tree |
48 | | - # - run: git status |
49 | | - # - run: git log -1 --pretty=format:%h |
50 | | - # - uses: actions/checkout@v4 |
51 | | - # with: |
52 | | - # fetch-depth: 0 |
53 | | - # - name: Set up JDK |
54 | | - # uses: actions/setup-java@v4 |
55 | | - # with: |
56 | | - # distribution: temurin |
57 | | - # java-version: 21 |
58 | | - # - name: Setup Gradle |
59 | | - # uses: gradle/actions/setup-gradle@v4 |
60 | | - # - run: gradle -I gradle/support/fetchDependencies.gradle buildGhidra |
61 | | - # - run: tree build |
| 54 | + - uses: actions/checkout@v4 |
| 55 | + with: |
| 56 | + fetch-depth: 0 |
| 57 | + - run: gradle -I gradle/support/fetchDependencies.gradle buildGhidra |
| 58 | + - run: tree build |
0 commit comments