forked from trailofbits/cb-multios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
52 lines (41 loc) · 1.25 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
environment:
PYTHON: "C:\\Python27-x64"
NINJA_URL: "https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip"
CMAKE_URL: "https://cmake.org/files/v3.14/cmake-3.14.0-rc1-win64-x64.zip"
CLANG_URL: "https://releases.llvm.org/7.0.1/LLVM-7.0.1-win32.exe"
MSVC_HOME: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community"
matrix:
- COMPILER: "clang"
- COMPILER: "msvc"
matrix:
allow_failures:
- COMPILER: "msvc"
os:
- Visual Studio 2017
build:
verbosity: detailed
install:
# Python
- set PATH=%PYTHON%;%PATH%
# Get Ninja
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\ninja > nul
- set PATH=C:\ninja;%PATH%
- ninja --version
# Get CMake
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
- 7z x cmake.zip -oC:\cmake > nul
- set PATH=C:\cmake\bin;%PATH%
- cmake --version
# Clang-cl
- appveyor DownloadFile %CLANG_URL% -FileName llvm-installer.exe
- llvm-installer.exe /S /D=C:\LLVM
- set PATH=C:\LLVM\bin;%PATH%
- clang-cl -v
before_build:
- call "%MSVC_HOME%\VC\Auxiliary\Build\vcvarsall.bat" x86
- python -m pip install xlsxwriter pycryptodome pypiwin32
- cd C:\projects\cb-multios
build_script:
- ps: .\build.ps1 $env:COMPILER
test: off