代码拉取完成,页面将自动刷新
version: 2.2.9.{build}
image: Visual Studio 2022
platform: Any CPU
shallow_clone: true
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
environment:
PfxPassword:
secure: tC3u6WA0oWdjXzbLX61Ux2tBK0KhFTT9FgUZFn0Nx0pY045twcsFBvRL+Di6SE80Nc88xaM/xloHGUAQoIq4OANLNg0BEsDYPnhziZDiLBo=
clone_script:
- cmd: >-
git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
&& cd %APPVEYOR_BUILD_FOLDER%
&& git checkout -qf %APPVEYOR_REPO_COMMIT%
&& git submodule update --init --recursive
before_build:
- cmd: dotnet --version
build_script:
- cmd: dotnet pack ./src/main/wacs.csproj -c "Release" /p:PublishSingleFile=false /p:PublishReadyToRun=false
- cmd: dotnet publish ./src/main/wacs.csproj -c "Release" -r win-x64 --self-contained
- cmd: dotnet publish ./src/main/wacs.csproj -c "Release" -r win-x86 --self-contained
- cmd: dotnet publish ./src/main/wacs.csproj -c "Release" -r win-arm64 --self-contained
- cmd: dotnet publish ./src/main/wacs.csproj -c "ReleaseTrimmed" -r win-x64 --self-contained /p:warninglevel=0
- cmd: dotnet publish ./src/main/wacs.csproj -c "ReleaseTrimmed" -r win-x86 --self-contained /p:warninglevel=0
- cmd: dotnet publish ./src/main/wacs.csproj -c "ReleaseTrimmed" -r win-arm64 --self-contained /p:warninglevel=0
- cmd: dotnet publish ./src/plugin.store.keyvault/wacs.store.keyvault.csproj -c Release
- cmd: dotnet publish ./src/plugin.store.userstore/wacs.store.userstore.csproj -c "Release"
- cmd: dotnet publish ./src/plugin.validation.dns.acme/wacs.validation.dns.acme.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.aliyun/wacs.validation.dns.aliyun.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.azure/wacs.validation.dns.azure.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.cloudflare/wacs.validation.dns.cloudflare.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.digitalocean/wacs.validation.dns.digitalocean.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.dnsexit/wacs.validation.dns.dnsexit.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.dnsmadeeasy/wacs.validation.dns.dnsmadeeasy.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.domeneshop/wacs.validation.dns.domeneshop.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.dreamhost/wacs.validation.dns.dreamhost.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.godaddy/wacs.validation.dns.godaddy.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.googledns/wacs.validation.dns.googledns.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.hetzner/wacs.validation.dns.hetzner.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.infomaniak/wacs.validation.dns.infomaniak.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.linode/wacs.validation.dns.linode.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.luadns/wacs.validation.dns.luadns.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.ns1/wacs.validation.dns.ns1.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.rfc2136/wacs.validation.dns.rfc2136.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.route53/wacs.validation.dns.route53.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.simply/wacs.validation.dns.simply.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.transip/wacs.validation.dns.transip.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.dns.tencent/wacs.validation.dns.tencent.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.http.ftp/wacs.validation.http.ftp.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.http.rest/wacs.validation.http.rest.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.http.sftp/wacs.validation.http.sftp.csproj -c Release
- cmd: dotnet publish ./src/plugin.validation.http.webdav/wacs.validation.http.webdav.csproj -c Release
test_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%/src/main.test/
- cmd: nuget install Appveyor.TestLogger -Version 2.0.0
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: dotnet test ./src/main.test/wacs.test.csproj -c Release --test-adapter-path:. --logger:Appveyor
after_build:
- ps: >-
cd $env:APPVEYOR_BUILD_FOLDER\build\
.\create-artifacts.ps1 $env:APPVEYOR_BUILD_FOLDER $env:APPVEYOR_BUILD_VERSION $env:PfxPassword
Get-ChildItem $env:APPVEYOR_BUILD_FOLDER\build\artifacts\ | Foreach-Object {
Push-AppveyorArtifact $_.FullName -FileName $_.Name
}
deploy: "off"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。