forked from cea-sec/miasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
47 lines (37 loc) · 1.46 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
version: 1.{build}
configuration:
- Release
clone_folder: c:\projects\miasm
environment:
matrix:
- platform: Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PLATFORM_TOOLSET: v141
PYTHON: c:\Python27
PYTHON_VERSION: "2.7.x"
- platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PLATFORM_TOOLSET: v141
PYTHON: c:\Python27-x64
PYTHON_VERSION: "2.7.x"
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- cmd: cd c:\projects\miasm
- cmd: "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- cmd: "%PYTHON%\\python.exe -m pip install -r optional_requirements.txt"
build_script:
- cmd: if "%platform%"=="Win32" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- cmd: if "%platform%"=="x64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
- "%PYTHON%\\python.exe setup.py build"
- "%PYTHON%\\python.exe setup.py install"
test_script:
- cmd: cd c:\projects\miasm\test
- "%PYTHON%\\python.exe -W error test_all.py"
after_test:
- cmd: chdir
- cmd: set plat
- cmd: if "%platform%"=="Win32" 7z a -t7z ..\miasm.x86.release.7z c:\projects\miasm\build\*lib*
- cmd: if "%platform%"=="X64" 7z a -t7z ..\miasm.x64.release.7z c:\projects\miasm\build\*lib*
artifacts:
- path: miasm.*.7z