Skip to content

Commit

Permalink
Merge pull request #15 from edmcman/ghidra-git
Browse files Browse the repository at this point in the history
Ghidra git
  • Loading branch information
edmcman authored Dec 27, 2023
2 parents 2cb1d1e + b068c41 commit 079b208
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
schedules:
- cron: "0 0 * * 0" # This example runs at 00:00 every Sunday (UTC)
displayName: "Weekly build"
branches:
include:
- ghidra-git
always: true # This will run even if there haven't been any code changes
jobs:
- job: Build_Ghidra_Plugin
variables:
GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle
strategy:
matrix:
# ghidra-git:
# ghidraVersion: "master"
ghidra-git:
ghidraVersion: "master"
ghidra1022:
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.2.2_build/ghidra_10.2.2_PUBLIC_20221115.zip"
ghidraVersion: "10.2.2"
Expand Down Expand Up @@ -41,8 +48,12 @@ jobs:

- task: Cache@2
inputs:
key: 'gradle | "$(Agent.OS)" | "$(System.Job.DisplayName)"'
restoreKeys: gradle
key: 'gradle | "$(Agent.OS)" | "$(System.JobDisplayName)"'
restoreKeys: |
gradle | "$(Agent.OS)" | "$(System.JobDisplayName)"
gradle | "$(System.JobDisplayName)"
gradle | "$(Agent.OS)"
gradle
path: $(GRADLE_USER_HOME)
displayName: Gradle build cache

Expand All @@ -67,8 +78,14 @@ jobs:
- task: Cache@2
inputs:
key: 'gradle deps'
path: $(Pipeline.Workspace)/ghidra/build/downloads
key: 'ghidra deps | "$(Agent.OS)" | "$(System.JobDisplayName)" '
restoreKeys: |
ghidra deps | "$(Agent.OS)" | "(System.JobDisplayName)"
ghidra deps | "$(Agent.OS)"
ghidra deps | "$(System.JobDisplayName)"
ghidra deps
path: $(Pipeline.Workspace)/ghidra/dependencies
displayName: Ghidra dependencies cache
condition: and(succeeded(), eq(variables['ghidraUrl'], ''))

- bash: |
Expand Down

0 comments on commit 079b208

Please sign in to comment.