mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-12 15:39:09 +00:00
Fix appveyor config.
This commit is contained in:
parent
b119b9ad71
commit
6eaee58679
@ -25,16 +25,17 @@ install:
|
||||
before_build:
|
||||
- ps: |
|
||||
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:
|
||||
- ps: |
|
||||
if ($env:build -eq "mingw") {
|
||||
mingw32-make -j4
|
||||
} else {
|
||||
msbuild /m:4 FORMAT.sln
|
||||
msbuild /m:4 /p:Configuration=$env:Configuration FORMAT.sln
|
||||
}
|
||||
|
||||
test_script:
|
||||
|
Loading…
Reference in New Issue
Block a user