Skip to content

Added claude to ignore #137

Added claude to ignore

Added claude to ignore #137

Workflow file for this run

name: Build Autopsy on Windows
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
TSK_HOME: "${{ github.workspace }}\\sleuthkit"
jobs:
build:
runs-on: windows-2025
steps:
- name: Checkout Autopsy
uses: actions/checkout@v4
- uses: microsoft/setup-msbuild@v2
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Set JDK_HOME
shell: bash
run: |
echo "JDK_HOME=$JAVA_HOME" >> $GITHUB_ENV
echo "INCLUDE=$INCLUDE;$JAVA_HOME/include;$JAVA_HOME/include/win32" >> $GITHUB_ENV
- name: Cache Chocolatey packages
uses: actions/cache@v4
with:
path: |
C:\ProgramData\chocolatey\bin
C:\ProgramData\chocolatey\lib
key: choco-nuget-ant
- name: Install nuget and ant
run: |
choco install nuget.commandline -y
choco install ant --ignore-dependencies -y
- name: Clone SleuthKit
run: |
git clone --branch develop-4.14 https://github.com/sleuthkit/sleuthkit "${{ github.workspace }}\sleuthkit"
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ${{ github.workspace }}\sleuthkit\win32\packages
key: nuget-${{ hashFiles('sleuthkit/win32/libtsk/packages.config') }}
restore-keys: nuget-
- name: Build SleuthKit native libraries
working-directory: ${{ github.workspace }}\sleuthkit
run: |
python win32\updateAndBuildAll.py -m
- name: Build SleuthKit Java bindings
working-directory: ${{ github.workspace }}\sleuthkit\bindings\java
run: |
ant -version
ant dist
- name: Build case-uco Java
working-directory: ${{ github.workspace }}\sleuthkit\case-uco\java
run: |
ant -q
- name: Build Autopsy
run: ant -q build
- name: Run Core unit tests
run: ant -f Core/build.xml test-unit
- name: Run KeywordSearch unit tests
run: ant -f KeywordSearch/build.xml test-unit