mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-08-13 20:35:54 +08:00
work on CI configuration
This commit is contained in:
parent
c5f16d6ce7
commit
9a873d3705
@ -24,6 +24,20 @@ environment:
|
|||||||
compiler: msvc
|
compiler: msvc
|
||||||
configuration: Release
|
configuration: Release
|
||||||
|
|
||||||
|
- platform: x86
|
||||||
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
|
generator: "Visual Studio 16 2019"
|
||||||
|
compiler: msvc19
|
||||||
|
configuration: Release
|
||||||
|
arch: Win32
|
||||||
|
|
||||||
|
- platform: x64
|
||||||
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
|
generator: "Visual Studio 16 2019 Win64"
|
||||||
|
compiler: msvc19
|
||||||
|
configuration: Release
|
||||||
|
arch: x64
|
||||||
|
|
||||||
- platform: x86
|
- platform: x86
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
generator: "MinGW Makefiles"
|
generator: "MinGW Makefiles"
|
||||||
@ -57,6 +71,7 @@ build_script:
|
|||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
||||||
|
- if [%compiler%]==[msvc19] cmake -G"%generator%" -A "%arch%" ..
|
||||||
- if [%compiler%]==[mingw] set PATH=%TOOLCHAIN_PATH%;%PATH%
|
- if [%compiler%]==[mingw] set PATH=%TOOLCHAIN_PATH%;%PATH%
|
||||||
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_C_COMPILER=%CC% -DCMAKE_CXX_COMPILER=%CXX% -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_BUILD_TYPE=%configuration% ..
|
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_C_COMPILER=%CC% -DCMAKE_CXX_COMPILER=%CXX% -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||||
- cmake --build . --config %configuration%
|
- cmake --build . --config %configuration%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user