mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 11:44:46 +02:00
Experiment with appveyor.
This commit is contained in:
16
appveyor.yml
16
appveyor.yml
@@ -1,11 +1,13 @@
|
|||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- Build: msvc
|
- Build: msvc
|
||||||
|
Config: Debug
|
||||||
|
- Build: msvc
|
||||||
|
Config: Release
|
||||||
- Build: mingw
|
- Build: mingw
|
||||||
|
Config: Debug
|
||||||
configuration:
|
- Build: mingw
|
||||||
- Debug
|
Config: Release
|
||||||
- Release
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: |
|
- ps: |
|
||||||
@@ -27,15 +29,15 @@ before_build:
|
|||||||
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
|
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
|
||||||
$generator = "-GMinGW Makefiles"
|
$generator = "-GMinGW Makefiles"
|
||||||
}
|
}
|
||||||
echo "-DCMAKE_BUILD_TYPE=$env:Configuration"
|
echo "-DCMAKE_BUILD_TYPE=$env:Config"
|
||||||
cmake -DFMT_EXTRA_TESTS=ON "-DCMAKE_BUILD_TYPE=$env:Configuration" "$generator" .
|
cmake -DFMT_EXTRA_TESTS=ON "-DCMAKE_BUILD_TYPE=$env:Config" "$generator" .
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:Build -eq "mingw") {
|
if ($env:Build -eq "mingw") {
|
||||||
mingw32-make -j4
|
mingw32-make -j4
|
||||||
} else {
|
} else {
|
||||||
msbuild /m:4 /p:Configuration=$env:Configuration FORMAT.sln
|
msbuild /m:4 /p:Config=$env:Config FORMAT.sln
|
||||||
}
|
}
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
Reference in New Issue
Block a user