Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 907833b

Browse files
committed
Some more CI logging
1 parent 2619aa4 commit 907833b

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

appveyor.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,23 @@ environment:
66
- node_version: '8'
77

88
install:
9-
- ps: |
9+
- ps: >-
1010
$full_build = Test-Path env:GHFU_KEY
1111
12+
$package = $full_build
13+
14+
$message = "Building "
15+
16+
if ($package) { $message += "and packaging "}
17+
18+
if ($full_build) { $message += "(full build)" } else { $message += "(partial build)" }
19+
20+
$message += " version " + $env:APPVEYOR_BUILD_NUMBER + " "
21+
22+
Write-Host $message
23+
1224
git submodule sync
25+
1326
git submodule init
1427
1528
if ($full_build) {
@@ -31,7 +44,9 @@ install:
3144
}
3245
3346
git submodule update
47+
3448
nuget restore GitHub.Unity.sln
49+
3550
- if %BUILD_TYPE%==full cd submodules\packaging\unitypackage && node .\yarn.js install --prefer-offline
3651

3752
assembly_info:
@@ -53,13 +68,13 @@ test:
5368
- DoNotRunOnAppVeyor
5469
on_success:
5570
- ps: |
56-
if ($full_build) {
71+
if ($package) {
5772
$sourcedir="$($env:appveyor_build_folder)\unity\PackageProject"
5873
Get-ChildItem -Recurse "$($sourcedir)\*.pdb" | foreach { $_.fullname.substring(0, $_.fullname.length - $_.extension.length) } | foreach { Write-Output "Generating $($_).mdb"; & 'lib\pdb2mdb.exe' "$($_).dll" }
5974
}
6075
- if %BUILD_TYPE%==full cd %appveyor_build_folder%\submodules\packaging\unitypackage && node yarn.js start --path %appveyor_build_folder%\unity\PackageProject --out %appveyor_build_folder% --file github-for-unity-%appveyor_build_version%
6176
- ps: |
62-
if ($full_build) {
77+
if ($package) {
6378
Set-Location $env:appveyor_build_folder
6479
$sourcedir="$($env:appveyor_build_folder)\unity\PackageProject"
6580
$zipfile="$($env:appveyor_build_folder)\github-for-unity-$($env:appveyor_build_version).zip"

0 commit comments

Comments
 (0)