From 2c2d036114cd82632564918c1d6942feb5e64407 Mon Sep 17 00:00:00 2001 From: tuxuser <462620+tuxuser@users.noreply.github.com> Date: Fri, 26 Jun 2026 18:44:22 +0200 Subject: [PATCH 1/2] ci: Initial workflow --- .github/workflows/build.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..72815b5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,35 @@ +name: Build extension + +on: [push, pull_request, workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ghidra: + - "12.1.2" + - "latest" + + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-java@v5 + with: + java-version: 21 + distribution: temurin + - uses: gradle/actions/setup-gradle@v6 + - uses: antoniovazquezblanco/setup-ghidra@v2 + with: + auth_token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ matrix.ghidra }} + - name: Build with gradle + working-directory: XEXLoaderWV + run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} + - name: Upload artifact + uses: actions/upload-artifact@v7 + with: + name: extension_for_ghidra_${{ matrix.ghidra }} + path: XEXLoaderWV/dist/*.zip + if-no-files-found: error + retention-days: 30 \ No newline at end of file From 4186bb73540e6a4d87760c04f411dc161168c2cd Mon Sep 17 00:00:00 2001 From: tuxuser <462620+tuxuser@users.noreply.github.com> Date: Thu, 2 Jul 2026 19:43:15 +0200 Subject: [PATCH 2/2] Update Ghidra setup in build workflow Removed authentication token from Ghidra setup step. --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72815b5..8f3f851 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,6 @@ jobs: - uses: gradle/actions/setup-gradle@v6 - uses: antoniovazquezblanco/setup-ghidra@v2 with: - auth_token: ${{ secrets.GITHUB_TOKEN }} version: ${{ matrix.ghidra }} - name: Build with gradle working-directory: XEXLoaderWV @@ -32,4 +31,4 @@ jobs: name: extension_for_ghidra_${{ matrix.ghidra }} path: XEXLoaderWV/dist/*.zip if-no-files-found: error - retention-days: 30 \ No newline at end of file + retention-days: 30