ninja/appveyor.yml

41 lines
995 B
YAML
Raw Normal View History

2018-04-06 08:02:01 +00:00
version: 1.0.{build}
image: Visual Studio 2017
2018-11-02 08:42:50 +00:00
environment:
CLICOLOR_FORCE: 1
CHERE_INVOKING: 1 # Tell Bash to inherit the current working directory
matrix:
- MSYSTEM: MINGW64
- MSYSTEM: MSVC
2018-04-06 08:02:01 +00:00
2018-11-02 08:42:50 +00:00
for:
-
matrix:
only:
- MSYSTEM: MINGW64
build_script:
ps: "C:\\msys64\\usr\\bin\\bash -lc @\"\n
pacman -S --quiet --noconfirm --needed re2c 2>&1\n
sed -i 's|cmd /c `$ar cqs `$out.tmp `$in \\&\\& move /Y `$out.tmp `$out|`$ar crs `$out `$in|g' configure.py\n
2018-11-02 08:42:50 +00:00
./configure.py --bootstrap --platform mingw 2>&1\n
./ninja all\n
./ninja_test 2>&1\n
./misc/ninja_syntax_test.py 2>&1\n\"@"
-
matrix:
only:
- MSYSTEM: MSVC
build_script:
- cmd: >-
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
2018-04-06 08:02:01 +00:00
2018-11-02 08:42:50 +00:00
python configure.py --bootstrap
ninja.bootstrap.exe all
ninja_test
python misc/ninja_syntax_test.py
2018-04-06 08:02:01 +00:00
test: off