1 Star 0 Fork 0

berry/xmltools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 2.40 KB
一键复制 编辑 原始数据 按行查看 历史
version: 3.1.0.{Build}
environment:
matrix:
- PlatformToolset: v142
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
#- PlatformToolset: v141_xp
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform:
- x64
- Win32
configuration:
- Release
- Debug
install:
- if "%platform%"=="x64" set platform_input=x64
- if "%platform%"=="Win32" set platform_input=Win32
- if "%platform%"=="x64" set archi=amd64
- if "%platform%"=="Win32" set archi=x86
- if "%PlatformToolset%"=="v141_xp" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
- if "%PlatformToolset%"=="v142" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
- nuget restore "%APPVEYOR_BUILD_FOLDER%"\SimpleXmlLib\SimpleXmlTests\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\packages
build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- msbuild XMLTools.sln /m /p:configuration="%configuration%" /p:platform="%platform_input%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- cd "%APPVEYOR_BUILD_FOLDER%"
- ps: |
Push-AppveyorArtifact "$env:PLATFORM_INPUT\$env:CONFIGURATION\XMLTools.dll" -FileName XMLTools.dll
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v142")
{
if($env:ARCH -eq "x64"){
$ZipFileName = "XMLTools_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\XMLTools.dll
#TODO add further dependencies and txt files
}
if($env:ARCH -eq "Win32"){
$ZipFileName = "XMLTools_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
7z a $ZipFileName $env:APPVEYOR_BUILD_FOLDER\$env:PLATFORM_INPUT\$env:CONFIGURATION\XMLTools.dll
#TODO add further dependencies and txt files
}
}
artifacts:
- path: XMLTools_*.zip
name: releases
deploy:
provider: GitHub
description: ''
auth_token:
secure: !!!TODO!!!
artifact: releases
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true
PlatformToolset: v142
configuration: Release
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/rootgd/xmltools.git
git@gitee.com:rootgd/xmltools.git
rootgd
xmltools
xmltools
master

搜索帮助