зеркало из https://github.com/github/VisualStudio.git
36 строки
1.2 KiB
YAML
36 строки
1.2 KiB
YAML
os: Visual Studio 2017
|
|
version: '2.5.7.{build}'
|
|
skip_tags: true
|
|
install:
|
|
- ps: |
|
|
$full_build = Test-Path env:GHFVS_KEY
|
|
git submodule init
|
|
git submodule sync
|
|
|
|
if ($full_build) {
|
|
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
|
|
$fileContent += $env:GHFVS_KEY.Replace(' ', "`n")
|
|
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
|
|
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
|
|
} else {
|
|
git submodule deinit script
|
|
}
|
|
|
|
git submodule update --recursive --force
|
|
nuget restore GitHubVS.sln
|
|
build_script:
|
|
- ps: scripts\build.ps1 -AppVeyor -BuildNumber:$env:APPVEYOR_BUILD_NUMBER
|
|
test:
|
|
categories:
|
|
except:
|
|
- Timings
|
|
on_success:
|
|
- ps: |
|
|
if ($full_build) {
|
|
script\Sign-Package -AppVeyor
|
|
}
|
|
on_finish:
|
|
- ps: scripts\Run-CodeCoverage.ps1 -AppVeyor -Configuration:Release
|
|
- IF NOT "%BCC_TOKEN%x"=="x" %USERPROFILE%\.nuget\packages\bcc-msbuildlog\0.0.2-alpha\tools\net471\BCC.MSBuildLog.exe -i output.binlog -o checkrun.json -c "%APPVEYOR_BUILD_FOLDER%"
|
|
- IF NOT "%BCC_TOKEN%x"=="x" %USERPROFILE%\.nuget\packages\bcc-submission\0.0.2-alpha\tools\net471\BCC.Submission.exe -i checkrun.json -t "%BCC_TOKEN%" -h "%APPVEYOR_REPO_COMMIT%"
|