fmt/appveyor.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2014-07-10 02:44:32 +00:00
environment:
2014-08-17 15:01:00 +00:00
CTEST_OUTPUT_ON_FAILURE: 1
2014-07-10 02:44:32 +00:00
matrix:
- BUILD: msvc
CONFIG: Debug
- BUILD: msvc
CONFIG: Release
- BUILD: mingw
CONFIG: Debug
- BUILD: mingw
CONFIG: Release
install:
2014-07-10 13:33:20 +00:00
- ps: |
if ($env:BUILD -eq "mingw") {
2014-07-10 15:41:33 +00:00
# Install MinGW.
2014-07-10 14:00:26 +00:00
$url = "http://sourceforge.net/projects/mingw-w64/files/"
$url += "Toolchains%20targetting%20Win64/Personal%20BUILDs/"
2014-07-10 14:00:26 +00:00
$url += "mingw-builds/4.9.0/threads-win32/seh/"
$url += "x86_64-4.9.0-release-win32-seh-rt_v3-rev2.7z/download"
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile mingw.7z
2014-07-10 13:50:14 +00:00
&7z x -oC:\ mingw.7z > $null
2014-07-10 13:33:20 +00:00
}
- set PATH=C:\Program Files (x86)\MSBUILD\12.0\bin\;%PATH%;C:\mingw64\bin
2014-07-10 00:32:32 +00:00
before_build:
- python support/build.py
2014-04-24 19:58:45 +00:00
2014-05-18 17:03:48 +00:00
build_script:
2014-07-10 13:39:10 +00:00
- ps: |
if ($env:BUILD -eq "mingw") {
2014-07-10 18:23:06 +00:00
mingw32-make -j4
2014-07-10 13:39:10 +00:00
} else {
msbuild /m:4 /p:Config=$env:CONFIG FORMAT.sln
2014-07-10 13:39:10 +00:00
}
2014-04-29 14:40:42 +00:00
test_script:
2014-07-10 13:39:10 +00:00
- ps: |
if ($env:BUILD -eq "mingw") {
2014-07-10 13:39:10 +00:00
mingw32-make test
} else {
msbuild RUN_TESTS.vcxproj
}
2014-05-16 15:59:54 +00:00
on_failure:
- appveyor PushArtifact Testing/Temporary/LastTest.log
- appveyor AddTest test