mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 12:35:32 +00:00
Fix appveyor config.
This commit is contained in:
parent
b119b9ad71
commit
6eaee58679
@ -25,16 +25,17 @@ install:
|
|||||||
before_build:
|
before_build:
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:build -eq "mingw") {
|
if ($env:build -eq "mingw") {
|
||||||
$env:PATH = $env:PATH -replace "C:[\\/]Program Files (x86)[\\/]Git[\\/]bin",""
|
# Remove path to Git bin directory from PATH because it breaks MinGW config.
|
||||||
|
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
|
||||||
}
|
}
|
||||||
cmake -DFMT_EXTRA_TESTS=ON "$env:generator" .
|
cmake -DFMT_EXTRA_TESTS=ON -DCMAKE_BUILD_TYPE=$env:Configuration "$env: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 FORMAT.sln
|
msbuild /m:4 /p:Configuration=$env:Configuration FORMAT.sln
|
||||||
}
|
}
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user