mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Don't install MinGW for MSVC build.
This commit is contained in:
parent
f7e0fb8a58
commit
dac1aa0d23
16
appveyor.yml
16
appveyor.yml
@ -2,22 +2,24 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- build: msvc
|
- build: msvc
|
||||||
- build: mingw
|
- build: mingw
|
||||||
|
generator: -G "MinGW Makefiles"
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Debug
|
- Debug
|
||||||
- Release
|
- Release
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set build
|
# Install MinGW.
|
||||||
- ps: >
|
- set generator
|
||||||
Invoke-WebRequest -UserAgent wget
|
- ps: |
|
||||||
-Uri http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-win32/seh/x86_64-4.9.0-release-win32-seh-rt_v3-rev2.7z/download
|
if ($env:build -eq "mingw") {
|
||||||
-OutFile mingw.7z
|
Invoke-WebRequest -UserAgent wget -Uri http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.0/threads-win32/seh/x86_64-4.9.0-release-win32-seh-rt_v3-rev2.7z/download -OutFile mingw.7z
|
||||||
- 7z x -oC:\ mingw.7z > nul
|
7z x -oC:\ mingw.7z > nul
|
||||||
|
}
|
||||||
- set PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%;C:\wingw64\bin
|
- set PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%;C:\wingw64\bin
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmake -DFMT_EXTRA_TESTS=ON .
|
- cmake -DFMT_EXTRA_TESTS=ON $generator .
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- msbuild /m:4 FORMAT.sln
|
- msbuild /m:4 FORMAT.sln
|
||||||
|
Loading…
Reference in New Issue
Block a user