mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 20:04:26 +08:00
Work on CI support for MingW
This commit is contained in:
parent
1ee722527a
commit
8926ecc88a
@ -10,7 +10,7 @@ environment:
|
|||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
generator: "MinGW Makefiles"
|
generator: "MinGW Makefiles"
|
||||||
compiler: mingw
|
compiler: mingw
|
||||||
toolchain: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1
|
toolchain: C:/mingw-w64/i686-6.3.0-posix-dwarf-rt_v5-rev1
|
||||||
configuration: Release
|
configuration: Release
|
||||||
|
|
||||||
- platform: x64
|
- platform: x64
|
||||||
@ -23,7 +23,7 @@ environment:
|
|||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
generator: "MinGW Makefiles"
|
generator: "MinGW Makefiles"
|
||||||
compiler: mingw
|
compiler: mingw
|
||||||
toolchain: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1
|
toolchain: C:/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1
|
||||||
configuration: Release
|
configuration: Release
|
||||||
|
|
||||||
- platform: x86
|
- platform: x86
|
||||||
@ -54,7 +54,7 @@ build_script:
|
|||||||
- cd build
|
- cd build
|
||||||
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
||||||
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH%
|
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH%
|
||||||
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_CXX_COMPILER=%toolchain%\bin\g++ -DCMAKE_C_COMPILER=%toolchain%\bin\gcc -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_CXX_COMPILER=%toolchain%/bin/g++ -DCMAKE_C_COMPILER=%toolchain%/bin/gcc -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||||
- cmake --build . --config %configuration%
|
- cmake --build . --config %configuration%
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user