forked from github/VisualStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (34 loc) · 1.14 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
os: Visual Studio 2017
version: '2.7.0.{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
- choco install --no-progress BCC-MSBuildLog
- choco install --no-progress BCC-Submission
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:
- IF NOT "%BCC_TOKEN%x"=="x" BCCMSBuildLog --cloneRoot "%APPVEYOR_BUILD_FOLDER%" --input output.binlog --output checkrun.json --ownerRepo %APPVEYOR_REPO_NAME% --hash %APPVEYOR_REPO_COMMIT%
- IF NOT "%BCC_TOKEN%x"=="x" BCCSubmission -h %APPVEYOR_REPO_COMMIT% -i checkrun.json -t %BCC_TOKEN%