1 Star 0 Fork 1

tubutafeng/winsw

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
# Do not build tags and feature branches
skip_tags: true
skip_branch_with_pr: true
# Project configuration
image: Visual Studio 2019
# platform: Any CPU
configuration:
- Debug
- Release
# Automatically register private account and/or project AppVeyor NuGet feeds.
nuget:
disable_publish_on_pr: true # disable publishing of .nupkg artifacts
before_build:
# Check SDKs
- ECHO "Installed SDKs:"
- ps: 'ls "C:\Program Files (x86)\Microsoft SDKs\Windows\"'
# Generates a temporary SNK. Not for real signing
- cmd: '"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\sn.exe" -k winsw_key.snk'
build_script:
- dotnet.exe build src\winsw.sln
- dotnet.exe publish -f netcoreapp3.1 src\Core\ServiceWrapper\winsw.csproj
- dotnet.exe publish -f netcoreapp3.1 -r win-x64 src\Core\ServiceWrapper\winsw.csproj /p:PublishSingleFile=true /p:PublishTrimmed=true
- dotnet.exe publish -f netcoreapp3.1 -r win-x86 src\Core\ServiceWrapper\winsw.csproj /p:PublishSingleFile=true /p:PublishTrimmed=true
after_build:
- ps: nuget pack WinSW.nuspec -Version $env:APPVEYOR_BUILD_VERSION
test_script:
- dotnet.exe test --no-build src\Test\winswTests\winswTests.csproj
artifacts:
- path: artifacts\WinSW.NET2.exe
name: WinSW.NET2.exe
- path: artifacts\WinSW.NET4.exe
name: WinSW.NET4.exe
- path: artifacts\WinSW.NET461.exe
name: WinSW.NET461.exe
- path: artifacts\WinSW.NETCore31.zip
name: WinSW.NETCore31.zip
- path: artifacts\WinSW.NETCore31.x64.exe
name: WinSW.NETCore31.x64.exe
- path: artifacts\WinSW.NETCore31.x86.exe
name: WinSW.NETCore31.x86.exe
- path: 'WinSW.$(appveyor_build_version).nupkg'
name: WinSW.nupkg
- path: 'examples\sample-allOptions.xml'
name: 'sample-allOptions.xml'
- path: 'examples\sample-minimal.xml'
name: 'sample-minimal.xml'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tubutafeng/winsw.git
git@gitee.com:tubutafeng/winsw.git
tubutafeng
winsw
winsw
master

搜索帮助