Merge changes Iaa05196d,I8bd4f4de,I721e1ff9 into tizen
[platform/upstream/ninja.git] / appveyor.yml
1 version: 1.0.{build}
2 image: Visual Studio 2017
3
4 environment:
5   CLICOLOR_FORCE: 1
6   CHERE_INVOKING: 1 # Tell Bash to inherit the current working directory
7   matrix:
8     - MSYSTEM: MINGW64
9     - MSYSTEM: MSVC
10
11 for:
12   -
13     matrix:
14       only:
15         - MSYSTEM: MINGW64
16     build_script:
17       ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n
18       pacman -S --quiet --noconfirm --needed re2c 2>&1\n
19       sed -i 's|cmd /c $ar cqs $out.tmp $in && move /Y $out.tmp $out|$ar crs $out $in|g' configure.py\n
20       ./configure.py --bootstrap --platform mingw 2>&1\n
21       ./ninja all\n
22       ./ninja_test 2>&1\n
23       ./misc/ninja_syntax_test.py 2>&1\n\"@"
24   -
25     matrix:
26       only:
27         - MSYSTEM: MSVC
28     build_script:
29     - cmd: >-
30         call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
31
32         python configure.py --bootstrap
33
34         ninja.bootstrap.exe all
35
36         ninja_test
37
38         python misc/ninja_syntax_test.py
39
40 test: off