forked from sleuthkit/sleuthkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
76 lines (61 loc) · 1.57 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: 4.6.0.{build}
environment:
matrix:
- job_name: Windows Build
appveyor_build_worker_image: Visual Studio 2019
- job_name: Linux Build
appveyor_build_worker_image: Ubuntu
- job_name: macOS Build
appveyor_build_worker_image: macos-catalina
matrix:
fast_finish: true
# job-specific configurations
for:
-
matrix:
only:
- job_name: Windows Build
cache:
- C:\Users\appveyor\.ant
- C:\ProgramData\chocolatey\bin
- C:\ProgramData\chocolatey\lib
install:
- ps: choco install nuget.commandline
- ps: choco install ant --ignore-dependencies
- ps: $env:Path="C:\Program Files\Java\jdk1.8.0\bin;$($env:Path);C:\ProgramData\chocolatey\lib\ant"
- set PATH=C:\Python36-x64\';%PATH%
environment:
global:
TSK_HOME: "%APPVEYOR_BUILD_FOLDER%"
PYTHON: "C:\\Python36-x64"
JDK_HOME: C:\Program Files\Java\jdk1.8.0
services:
before_build:
- nuget restore win32\libtsk -PackagesDirectory win32\packages
build_script:
- python win32\updateAndBuildAll.py -m
- ps: ant -version
- ps: pushd bindings/java
- cmd: ant -q dist
- ps: popd
- ps: pushd case-uco/java
- cmd: ant -q
- ps: popd
test_script:
- cmd: ant -q -f bindings/java test
-
matrix:
only:
- job_name: Linux Build
build_script:
- ./bootstrap
- ./configure -q
- make -s
-
matrix:
only:
- job_name: macOS Build
build_script:
- ./bootstrap
- ./configure -q
- make -s