forked from c3rb3ru5d3d53c/binlex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
56 lines (52 loc) · 1.32 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
image:
- Visual Studio 2019
- Ubuntu2004
platform:
- x64
configuration:
- Release
for:
-
matrix:
only:
- image: Ubuntu2004
platform: Any CPU
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
install:
- sudo apt update -qq
- sudo apt install -qq -y git build-essential libcapstone-dev libssl-dev cmake make parallel doxygen git-lfs rpm liblief-dev python3-dev python3 python3-pip
- git submodule update --init --recursive
test_script:
- make threads=4 args="-DBUILD_PYTHON_BINDINGS=true"
- python3 -m pip wheel -e .
- mv *.whl build/
- make pkg
- make dist
artifacts:
- path: build/*.deb
- path: build/*.rpm
- path: build/*.tar.gz
- path: build/*.zip
- path: build/*.whl
- path: build/pybinlex*.so
-
matrix:
only:
- image: Visual Studio 2019
configuration:
- Release
platform: Any CPU
install:
- git submodule update --init --recursive
- set PATH=C:\Program Files\CMake\bin;%PATH%
test_script:
- ps: mkdir build
- ps: cd build/
- ps: cmake ..
# Build only works on Debug, no clue why, damn you Microsoft!
- ps: cmake --build . --config Debug
artifacts:
- path: build/Debug/*.exe
- path: build/Debug/*.dll
build: off