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