File: appveyor.yml

package info (click to toggle)
binaryen 68-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,900 kB
  • sloc: cpp: 57,351; ansic: 3,562; python: 2,898; sh: 700; makefile: 6
file content (35 lines) | stat: -rw-r--r-- 960 bytes parent folder | download
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 -C Release