代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Simbody 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Windows testing using Visual Studio.
# Syntax for this file:
# http://www.appveyor.com/docs/appveyor-yml
# See http://msdn.microsoft.com/en-us/library/ms164311.aspx for
# command-line options to MSBuild.
# Speeding up a Visual Studio build.
# http://blogs.msdn.com/b/vcblog/archive/2011/01/05/damn-my-vc-project-is-building-slower-in-vs2010-what-do-i-do-now-a-step-by-step-guide.aspx
shallow_clone: true
image: Visual Studio 2017
platform: x64
# No need to run CI on the branch if we're also running CI for a PR.
skip_branch_with_pr: true
nuget:
disable_publish_on_pr: true
environment:
CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
matrix:
# Use the Visual Studio 14 2015 toolset.
- CMAKE_TOOLSET: "v140"
NUGET_PACKAGE_ID_SUFFIX: "-VC140"
# Use the Visual Studio 15 2017 toolset.
- CMAKE_TOOLSET: "v141"
NUGET_PACKAGE_ID_SUFFIX: "-VC141"
build_script:
# Must create separate build dir, otherwise can't read test files
# for some reason.
- mkdir build
- cd build
# Treat all warnings as errors.
- cmake .. -G"%CMAKE_GENERATOR%" -T"%CMAKE_TOOLSET%" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:\simbody
# See http://msdn.microsoft.com/en-us/library/ms164311.aspx for
# command-line options to MSBuild.
- cmake --build . --target ALL_BUILD --config Release -- /maxcpucount:4 /verbosity:quiet /p:TreatWarningsAsErrors="true"
test_script:
- ctest --parallel 4 --build-config Release --output-on-failure
after_test:
## On master branch, create NuGet package for Simbody, for use by OpenSim.
# Detect if we are on the master branch.
- IF %APPVEYOR_REPO_BRANCH% EQU master IF NOT DEFINED APPVEYOR_PULL_REQUEST_NUMBER SET DISTR=TRUE
# Install Simbody.
- IF DEFINED DISTR cmake --build . --target install --config Release -- /maxcpucount /verbosity:quiet
# Create NuGet package.
- IF DEFINED DISTR cd %APPVEYOR_BUILD_FOLDER%
# Create a nupkg. The install directory is to be packaged.
- IF DEFINED DISTR nuget pack doc/.simbody.nuspec -Properties "packageIdSuffix=%NUGET_PACKAGE_ID_SUFFIX%" -BasePath C:\simbody
# The line above creates the file simbody%NUGET_PACKAGE_ID_SUFFIX%.0.0.0.nupkg.
# Push this file to Appveyor's NuGet account feed, to be used by OpenSim.
- IF DEFINED DISTR appveyor PushArtifact simbody%NUGET_PACKAGE_ID_SUFFIX%.0.0.0.nupkg
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。