forked from microsoft/GSL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI updates incl. remove support for VS 2013.
* CI updates: Travis: use cmake 3.7 Appveyor: Add .appveyor.yml config, test VS2013/VS2015/VS2017 x86/x64 Debug/Release. * Drop VS2013 support from AppVeyor.
- Loading branch information
1 parent
16a6a41
commit 3300602
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
shallow_clone: true | ||
|
||
platform: | ||
- x86 | ||
- x64 | ||
|
||
configuration: | ||
- Debug | ||
- Release | ||
|
||
image: | ||
- Visual Studio 2015 | ||
- Visual Studio 2017 | ||
|
||
cache: | ||
- C:\cmake-3.7.2-win32-x86 | ||
|
||
install: | ||
- git clone --quiet --depth=1 https://github.com/Microsoft/unittest-cpp.git tests/unittest-cpp | ||
- ps: | | ||
if (![IO.File]::Exists("C:\cmake-3.7.2-win32-x86\bin\cmake.exe")) { | ||
Start-FileDownload 'https://cmake.org/files/v3.7/cmake-3.7.2-win32-x86.zip' | ||
7z x -y cmake-3.7.2-win32-x86.zip -oC:\ | ||
} | ||
$env:PATH="C:\cmake-3.7.2-win32-x86\bin;$env:PATH" | ||
before_build: | ||
- ps: | | ||
mkdir build | ||
cd build | ||
if ("$env:APPVEYOR_JOB_NAME" -match "Image: Visual Studio 2015") { | ||
$env:generator="Visual Studio 14 2015" | ||
} else { | ||
$env:generator="Visual Studio 15 2017" | ||
} | ||
if ($env:PLATFORM -eq "x64") { | ||
$env:generator="$env:generator Win64" | ||
} | ||
echo generator="$env:generator" | ||
cmake .. -G "$env:generator" | ||
build_script: | ||
- cmake --build . --config %CONFIGURATION% -- /m /v:minimal | ||
|
||
test_script: | ||
- ctest -j2 | ||
|
||
deploy: off |