forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
35 lines (29 loc) · 949 Bytes
/
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
---
init:
- set PATH=C:\Python27\Scripts;%PATH% # while python's bin is already in PATH, but pip.exe in Scripts\ dir isn't
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
environment:
DEGREE_OF_PARALLELISM: 3
matrix:
- GENERATOR: MSYS Makefiles
CONFIG: Release
PARALLEL_FLAG: -j
- GENERATOR: Visual Studio 14 2015
CONFIG: Release
PARALLEL_FLAG: "/m:"
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Debug
PARALLEL_FLAG: "/m:"
- GENERATOR: Visual Studio 14 2015 Win64
CONFIG: Release
PARALLEL_FLAG: "/m:"
install:
- pip install flake8==3.4.1
before_build:
# Check the style of a subset of Python code until the other code is updated.
- flake8 ./scripts/
build_script:
- cmake . -DCMAKE_BUILD_TYPE=%CONFIG% -G "%GENERATOR%"
- cmake --build . --config %CONFIG% -- %PARALLEL_FLAG%%DEGREE_OF_PARALLELISM%
test_script:
- ctest --output-on-failure --timeout 10 -j 5