Reactivate MSVC build and test#2
Open
salchint wants to merge 31 commits intomirror:masterfrom
Open
Conversation
ToolsVersion '15.0' means Visual Studio 2017. I've let it stick to its standared PlatformToolset of '14.1', which is relative to the MSVC runtime libraries version that needs to be installed on the target machines.
Keep the default settings including one VSBuild for x86/Release. [skip ci]
Feat/update msvc
The MSTest project is intended to replay the shell script based tests. The advantage is to get an standardized output for the azure build/test pipeline.
Currently only test helpers test1..8 are built in the Windows build scripts. So tests using other helpers are not executed yet.
AppVeyor supports deployment to JFrog's Bintray, which looks quite nice. bintray.com/salching/tclap
* Use variables in artifact-path to make it unique * Upload artifact to BinTray via api key
The link directs you to the download area of tclap on BinTray. https://bintray.com/salchint/tclap
* Enable code analysis in the MSVC compiler Here I introduce two different static code analysis tools. First the MSVC built-in /analyze compiler switch. Second we call CppCheck if it is installed (in a predefined path). * Install build-prerequisite CppCheck This is currently only true for the AppVeyor based build pipeline. CppCheck is used in post-build steps if installed.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
mscfolder has already included build project files for MSVC. I updated the existing ones to be compatible to Visual Studio 2017 and included steps for static code analysis. Additionally I created a CI pipeline on https://ci.appveyor.com/project/salchint/tclap and automatic deployment to https://bintray.com/salchint/tclap, which is not complete yet, but can be enhanced easily.