1 Star 0 Fork 7

GoPy+/gitextensions

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 3.26 KB
一键复制 编辑 原始数据 按行查看 历史
RussKie 提交于 2020-01-06 18:45 +08:00 . v3.3.1
version: 3.3.1.{build}
os: Visual Studio 2017
branches:
except:
- configdata
- gh-pages
environment:
matrix:
- IdeVersion: VS2017
SKIP_PAUSE: TRUE
ARCHIVE_WITH_PDB: TRUE
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
# enable MSBuild parallel builds
parallel: true
# MSBuild verbosity level
verbosity: minimal
cache:
#- packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
- packages\WiX.3.11.0 -> Setup\packages.config
install:
- cmd: git submodule update --init --recursive
- cmd: echo /logger:"%ProgramFiles%\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll">> Directory.Build.rsp
- cmd: |-
cd Setup
C:\\Python35\\python set_version_to.py -v %APPVEYOR_BUILD_VERSION% -t %APPVEYOR_BUILD_VERSION%
cd ..
# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: |
Write-Output "Platform: $env:IdeVersion"
# for release branches mark the repo as clean
if (!$env:APPVEYOR_PULL_REQUEST_TITLE) {
& Build\Mark-RepoClean.ps1
}
# build
& .\Setup\Build.cmd
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
# for pull-reqests enforce updated translations
# if any strings have changed and the author hasn't updated translations,
# we will get changes to either English.xlf and/or English.Plugins.xlf - if so, fail the build
if ($env:APPVEYOR_PULL_REQUEST_TITLE) {
& .\Build\transifex\UpdateLocalEnglishTranslations.ps1
# stage all modified files, as some translations yield no content change, but are seeing as file changed until stages
git add *.xlf --ignore-errors
# look for any modified xlf files, and if any - fail the build
if ( $( git status --porcelain ) | ?{ $_.EndsWith('.xlf') } ) {
& git diff --cached > git-diff-xlf.txt
Push-AppveyorArtifact ./git-diff-xlf.txt
throw "Please update English translations and re-submit the pull-request.`r`nFor more information please refer to https://github.com/gitextensions/gitextensions/wiki/Translations";
$host.SetShouldExit(-10);
}
}
# to run your custom scripts instead of automatic tests
test_script:
- ps: |
Write-Host "Tests are running..."
Write-Host $pwd
& .\Build\Run-Tests.ps1
# scripts to run after tests
after_test:
- ps: |
Write-Host "Preparing build artifacts..."
& .\Build\Prepare-Artifacts.ps1
artifacts:
# upload the generated portable archive only
- path: 'combined.*-unsigned.zip'
- path: GitExtensions-pdbs-*.zip
deploy:
- provider: Webhook
on:
ARTIFACT_SIGNING_ENABLED: true
url: https://app.signpath.io/API/v1/7c19b2cf-90f7-4d15-9b12-1b615f7c18c4/Integrations/AppVeyor?SigningPolicyId=5c9879c7-0dea-4303-8e5b-fc4192a7b0de
on_build_success: true
on_build_failure: false
on_build_status_changed: false
method: POST
authorization:
secure: RdmJQ3LAsGIbtqbxlcn7wF8ESTbPSDiR0Fmyt11mDl+avSDd0HKexHA+sWQA3cN1K8aVnKTzvjGTQS8DSDmLzQ==
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/gopyplus/gitextensions.git
git@gitee.com:gopyplus/gitextensions.git
gopyplus
gitextensions
gitextensions
llangs

搜索帮助