зеркало из https://github.com/github/VisualStudio.git
Remove appveyor.yml configuration
This commit is contained in:
Родитель
0dd2dda7f7
Коммит
d3bacf826f
75
appveyor.yml
75
appveyor.yml
|
@ -1,75 +0,0 @@
|
|||
os: Visual Studio 2019 Preview
|
||||
version: '2.10.8.{build}'
|
||||
skip_tags: true
|
||||
|
||||
install:
|
||||
- choco install --no-progress BCC-MSBuildLog
|
||||
- choco install --no-progress BCC-Submission
|
||||
- ps: |
|
||||
$full_build = Test-Path env:GHFVS_KEY
|
||||
$forVSInstaller = $env:BUILD_TYPE -eq "vsinstaller"
|
||||
$forPackage = $env:BUILD_TYPE -eq "package"
|
||||
$package = $full_build -and ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $forVSInstaller -or $forPackage)
|
||||
|
||||
$message = "Building "
|
||||
if ($package) { $message += "and packaging "}
|
||||
$message += "version " + $env:APPVEYOR_BUILD_NUMBER + " "
|
||||
|
||||
if ($full_build) { $message += "(full build)" } else { $message += "(partial build)" }
|
||||
if ($forVSInstaller) { $message += " for the VS installer" }
|
||||
Write-Host $message
|
||||
|
||||
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
|
||||
Write-Host "Completed AppVeyor Install"
|
||||
|
||||
build_script:
|
||||
- ps: scripts\build.ps1 -AppVeyor -Package:$package -BuildNumber:$env:APPVEYOR_BUILD_NUMBER -ForVSInstaller:$forVSInstaller
|
||||
|
||||
test:
|
||||
categories:
|
||||
except:
|
||||
- Timings
|
||||
|
||||
on_success:
|
||||
- ps: |
|
||||
if ($package) {
|
||||
Write-Host "Signing and packaging"
|
||||
script\Sign-Package -AppVeyor -ForVSInstaller:$forVSInstaller
|
||||
}
|
||||
|
||||
for:
|
||||
-
|
||||
branches:
|
||||
except:
|
||||
- /releases/.*-vsinstaller/
|
||||
environment:
|
||||
matrix:
|
||||
- BUILD_TYPE: normal
|
||||
-
|
||||
branches:
|
||||
only:
|
||||
- /releases/.*-vsinstaller/
|
||||
environment:
|
||||
matrix:
|
||||
- BUILD_TYPE: package
|
||||
- BUILD_TYPE: vsinstaller
|
||||
-
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /releases/(?:(?!-vsinstaller).)*?/
|
||||
environment:
|
||||
matrix:
|
||||
- BUILD_TYPE: package
|
Загрузка…
Ссылка в новой задаче