fmt/appveyor.yml

33 lines
837 B
YAML
Raw Normal View History

2014-07-10 02:44:32 +00:00
environment:
matrix:
- build: msvc
- build: mingw
2014-07-10 13:33:20 +00:00
generator: -G "MinGW Makefiles"
2014-07-10 02:44:32 +00:00
2014-05-16 15:55:12 +00:00
configuration:
- Debug
- Release
install:
2014-07-10 13:33:20 +00:00
# Install MinGW.
- set generator
- ps: |
if ($env:build -eq "mingw") {
Invoke-WebRequest -UserAgent wget -Uri http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-win32/seh/x86_64-4.9.0-release-win32-seh-rt_v3-rev2.7z/download -OutFile mingw.7z
7z x -oC:\ mingw.7z > nul
}
2014-07-09 20:16:39 +00:00
- set PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%;C:\wingw64\bin
2014-07-10 00:32:32 +00:00
before_build:
2014-07-10 13:33:20 +00:00
- cmake -DFMT_EXTRA_TESTS=ON $generator .
2014-04-24 19:58:45 +00:00
2014-05-18 17:03:48 +00:00
build_script:
2014-05-19 14:38:24 +00:00
- msbuild /m:4 FORMAT.sln
2014-04-29 14:40:42 +00:00
test_script:
- msbuild RUN_TESTS.vcxproj
2014-05-16 15:59:54 +00:00
on_failure:
- appveyor PushArtifact Testing/Temporary/LastTest.log
- appveyor AddTest test