mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 19:24:48 +02:00
Add support for MinGW build.
This commit is contained in:
15
appveyor.yml
15
appveyor.yml
@@ -1,6 +1,7 @@
|
|||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- build: msvc
|
- build: msvc
|
||||||
|
generator:
|
||||||
- build: mingw
|
- build: mingw
|
||||||
generator: -G "MinGW Makefiles"
|
generator: -G "MinGW Makefiles"
|
||||||
|
|
||||||
@@ -22,10 +23,20 @@ before_build:
|
|||||||
- cmake -DFMT_EXTRA_TESTS=ON $generator .
|
- cmake -DFMT_EXTRA_TESTS=ON $generator .
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- msbuild /m:4 FORMAT.sln
|
- ps: |
|
||||||
|
if ($env:build -eq "mingw") {
|
||||||
|
mingw32-make -j4
|
||||||
|
} else {
|
||||||
|
msbuild /m:4 FORMAT.sln
|
||||||
|
}
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- msbuild RUN_TESTS.vcxproj
|
- ps: |
|
||||||
|
if ($env:build -eq "mingw") {
|
||||||
|
mingw32-make test
|
||||||
|
} else {
|
||||||
|
msbuild RUN_TESTS.vcxproj
|
||||||
|
}
|
||||||
|
|
||||||
on_failure:
|
on_failure:
|
||||||
- appveyor PushArtifact Testing/Temporary/LastTest.log
|
- appveyor PushArtifact Testing/Temporary/LastTest.log
|
||||||
|
Reference in New Issue
Block a user