mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 14:54:29 +08:00
Work on CI support for MingW
This commit is contained in:
parent
63970fcbb2
commit
4dcb17f176
@ -4,14 +4,14 @@ environment:
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
generator: "MinGW Makefiles"
|
||||
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\mingw32\bin'
|
||||
configuration: Release
|
||||
|
||||
- platform: x64
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
generator: "MinGW Makefiles"
|
||||
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\mingw64\bin'
|
||||
configuration: Release
|
||||
|
||||
matrix:
|
||||
@ -29,8 +29,8 @@ build_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
||||
- 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++.exe -DCMAKE_C_COMPILER=%toolchain%/bin/gcc.exe -DCMAKE_PREFIX_PATH=%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||
- if [%compiler%]==[mingw] set PATH=%toolchain%\bin;%PATH%
|
||||
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||
- cmake --build . --config %configuration%
|
||||
|
||||
test_script:
|
||||
|
Loading…
x
Reference in New Issue
Block a user