mirror of
https://github.com/gulrak/filesystem.git
synced 2025-12-24 12:34:45 +08:00
65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
environment:
|
|
matrix:
|
|
- platform: x86
|
|
image: Visual Studio 2015
|
|
generator: "Visual Studio 2015"
|
|
compiler: msvc
|
|
configuration: Release
|
|
|
|
- platform: x86
|
|
image: Visual Studio 2015
|
|
generator: "MinGW Makefiles"
|
|
compiler: mingw
|
|
toolchain: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1
|
|
configuration: Release
|
|
|
|
- platform: x64
|
|
image: Visual Studio 2015
|
|
generator: "Visual Studio 2015"
|
|
compiler: msvc
|
|
configuration: Release
|
|
|
|
- platform: x64
|
|
image: Visual Studio 2015
|
|
generator: "MinGW Makefiles"
|
|
compiler: mingw
|
|
toolchain: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1
|
|
configuration: Release
|
|
|
|
- platform: x86
|
|
image: Visual Studio 2017
|
|
generator: "Visual Studio 2017"
|
|
compiler: msvc
|
|
configuration: Release
|
|
|
|
- platform: x64
|
|
image: Visual Studio 2017
|
|
generator: "Visual Studio 2017"
|
|
compiler: msvc
|
|
configuration: Release
|
|
|
|
matrix:
|
|
fast_finish: false
|
|
|
|
init:
|
|
- cmd: cmake --version
|
|
- cmd: msbuild /version
|
|
|
|
install:
|
|
- cmd: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
|
|
|
|
build_script:
|
|
- mkdir build
|
|
- cd build
|
|
- if [%compiler%]==[msvc] cmake -G%generator% -A%platform% -DCMAKE_BUILD_TYPE=%configuration% ..
|
|
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH%
|
|
- if [%compiler%]==[mingw] cmake -G%generator% -DCMAKE_PREFIX_PATH=C:\mingw-w64\%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
|
- cmake --build . --config %configuration%
|
|
|
|
test_script:
|
|
- cd build
|
|
- set CTEST_OUTPUT_ON_FAILURE=1
|
|
- ctest -C %configuration%
|
|
- cd ..
|
|
|