代码拉取完成,页面将自动刷新
shallow_clone: true
os:
- Visual Studio 2015
- Visual Studio 2019
platform:
- x64
branches:
only:
- master
install:
- set PATH=C:\Program Files\CMake\bin;%PATH%
build:
verbosity: detailed
configuration:
- Release
- Debug
environment:
artifactName: $(APPVEYOR_PROJECT_NAME)-$(APPVEYOR_REPO_COMMIT)-$(CONFIGURATION)
matrix:
- env_arch: "x64"
- env_arch: "x86"
before_build:
- mkdir build
- cd build
- if [%env_arch%]==[x64] (
cmake .. -A x64 )
- if [%env_arch%]==[x86] (
cmake .. -A Win32 )
- cmake -DCMAKE_INSTALL_PREFIX:PATH=%APPVEYOR_BUILD_FOLDER%/%APPVEYOR_REPO_COMMIT% ..
build_script:
- cmake --build . --config %CONFIGURATION% --target install
test_script:
- cp "..\tests\test_case3\bin\test_case3_32.exe" %APPVEYOR_BUILD_FOLDER%/%APPVEYOR_REPO_COMMIT%/
- cp "..\tests\test_case3\bin\test_case3_64.exe" %APPVEYOR_BUILD_FOLDER%/%APPVEYOR_REPO_COMMIT%/
- if [%env_arch%]==[x64] (
cp "..\tests\test_case2\payload.dll" %APPVEYOR_BUILD_FOLDER%/%APPVEYOR_REPO_COMMIT%/ )
- ctest -V
after_test:
- mkdir %artifactName%
- cp -r %APPVEYOR_BUILD_FOLDER%/%APPVEYOR_REPO_COMMIT%/* %artifactName%
artifacts:
- path: build\%artifactName%
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。