Skip to content

Test build matrix in CI #157

Test build matrix in CI

Test build matrix in CI #157

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Root directory for doing Ghidra work (building, etc.)
root: ["/tmp/ghidra"]
# Ghidra build version(s)
version: ["11.3", "11.2.1"]
include:
- version: "11.3"
release_url: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.3_build"
filename: "ghidra_11.3_PUBLIC_20250205.zip"
directory: "ghidra_11.3_PUBLIC"

Check failure on line 22 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- version: "11.2.1".
release_url: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.2.1_build"
filename: "ghidra_11.2.1_PUBLIC_20241105.zip"
directory: "ghidra_11.2.1_PUBLIC"
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: Set up Ghidra
uses: antoniovazquezblanco/setup-ghidra@latest
with:
auth_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.ghidra }}
- name: Build something with Ghidra ${{ matrix.ghidra }}
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}