-
-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathappveyor.yml
More file actions
69 lines (43 loc) · 2.15 KB
/
appveyor.yml
File metadata and controls
69 lines (43 loc) · 2.15 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: 4.8.{build}
branches:
only:
- master
skip_tags: true
image: Visual Studio 2022
configuration: Release
platform: x86
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- ps: >-
(new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
Vsix-IncrementVsixVersion C:\projects\sqlcetoolbox\src\GUI\SqlCe35Toolbox\source.extension.vsixmanifest
build_script:
- cmd: >-
.nuget\nuget restore .\src\GUI\SqlCeToolbox.sln -NonInteractive -Verbosity quiet -Source "https://api.nuget.org/v3/index.json"
msiexec /i %APPVEYOR_BUILD_FOLDER%\tools\3.5.8109\SSCERuntime-ENU_x86.msi /quiet /qn
msiexec /i %APPVEYOR_BUILD_FOLDER%\tools\3.5.8109\SSCERuntime-ENU_x64.msi /quiet /qn
msiexec /i %APPVEYOR_BUILD_FOLDER%\tools\4.0.8902\SSCERuntime_x64-ENU.msi /quiet /qn
msbuild src\API\SqlCeScripting40.sln /p:configuration=Release /v:m
msbuild src\API\Export2SqlCe.sln /p:configuration=Release /p:Platform="Any CPU" /v:m
msbuild src\API\ExportSqlCe.sln /p:configuration=Release /p:Platform="Any CPU" /v:m
msbuild src\API\ExportSqlCe40.sln /p:configuration=Release /p:Platform="Any CPU" /v:m
msbuild src\GUI\SqlCe40ToolboxExe.sln /p:configuration=Release /v:m
msbuild src\GUI\SqlCeToolbox.sln /p:configuration=Release /p:Platform="Any CPU" /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
7z a SqlCe40ToolBox.zip %APPVEYOR_BUILD_FOLDER%\src\GUI\SqlCe40ToolboxExe\bin\Release40\SqlCe40ToolBox.exe
7z a SqlCe35ToolBox.zip %APPVEYOR_BUILD_FOLDER%\src\GUI\SqlCe40ToolboxExe\bin\Release\SqlCe35ToolBox.exe
test: off
artifacts:
- path: SqlCe40Toolbox.zip
name: SqlCe40Toolbox
- path: SqlCe35Toolbox.zip
name: SqlCe35Toolbox
deploy_script:
- ps: >-
Vsix-PushArtifacts | Vsix-PublishToGallery
Push-AppveyorArtifact C:\projects\sqlcetoolbox\src\GUI\SSMSToolbox\bin\Release\SSMSToolbox.vsix -FileName SSMSToolbox.vsix -DeploymentName "Latest build"