代码拉取完成,页面将自动刷新
同步操作将从 方先生/cs-script.npp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: 1.7.6.{build}
image: Visual Studio 2017
environment:
matrix:
- PlatformToolset: VS15
- PlatformToolset: VS17
platform:
- Any CPU
configuration:
- Release
install:
- if "%platform%"=="x64" set archi=amd64
- if "%platform%"=="x64" set platform_input=x64
- if "%platform%"=="Any CPU" set archi=x86
- if "%platform%"=="Any CPU" set platform_input=Any CPU
- if "%PlatformToolset%"=="VS15" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %archi%
- if "%PlatformToolset%"=="VS17" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %archi%
- nuget restore "%APPVEYOR_BUILD_FOLDER%"\src\CSScriptNpp.Test\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\src\packages
- nuget restore "%APPVEYOR_BUILD_FOLDER%"\src\Roslyn.Intellisesne\Roslyn.Intellisense\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\src\packages
init:
- git config --global core.autocrlf true
build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"\src
- msbuild CSScriptNpp.sln /p:configuration="%configuration%" /p:platform="%platform_input%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
# - cd "%APPVEYOR_BUILD_FOLDER%"\src\CSScriptNpp
# - ps: >-
# if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Release") {
# #Push-AppveyorArtifact "bin\$env:PLATFORM\$env:CONFIGURATION\" -FileName CSScriptNpp.dll
# }
# if ($env:PLATFORM -eq "Any CPU" -and $env:CONFIGURATION -eq "Release") {
# Push-AppveyorArtifact "bin\$env:PLATFORM\$env:CONFIGURATION\CSScriptNpp.dll" -FileName CSScriptNpp.dll
# }
# if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "VS17") {
# if($env:PLATFORM -eq "x64"){
# $ZipFileName = "CSScriptNpp_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
# 7z a $ZipFileName bin\$env:PLATFORM\$env:CONFIGURATION\CSScriptNpp.dll
# }
# if($env:PLATFORM -eq "Any CPU"){
# $ZipFileName = "CSScriptNpp_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
# 7z a $ZipFileName bin\$env:PLATFORM\$env:CONFIGURATION\CSScriptNpp.dll
# }
# }
artifacts:
# - path: CSScriptNpp_*.zip
# name: releases
deploy:
# provider: GitHub
# auth_token:
# secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
# artifact: releases
# draft: false
# prerelease: false
# force_update: true
# on:
# appveyor_repo_tag: true
# PlatformToolset: VS17
# configuration: Release
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。