Skip to content

Commit eea6794

Browse files
Added appveyor build script
[release]
1 parent 779b8b8 commit eea6794

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Part of the [VSIX Community](https://github.com/VsixCommunity)
44

5+
[![Build status](https://ci.appveyor.com/api/projects/status/6y2vim0h3c9nvlxk?svg=true)](https://ci.appveyor.com/project/madskristensen/community-visualstudio-sourcegenerators)
6+
57
## Summary
68

79
This package contains [C# source generators](https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview) that generate code from `.vsixmanfiest` files and `.vsct` files.

appveyor.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
image: Visual Studio 2022
2+
3+
install:
4+
# .NET Core SDK binaries
5+
- ps: $urlCurrent = "https://download.visualstudio.microsoft.com/download/pr/8e55ce37-9740-41b7-a758-f731043060da/4b8bfd4aad9d322bf501ca9e473e35c5/dotnet-sdk-6.0.101-win-x64.zip"
6+
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
7+
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
8+
- ps: $tempFileCurrent = [System.IO.Path]::GetTempFileName()
9+
- ps: (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
10+
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
11+
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
12+
13+
build_script:
14+
- ps: $env:MinorVersion = "0.$($env:appveyor_build_number)"
15+
- ps: MSBuild -restore /p:configuration=Release /p:ContinuousIntegrationBuild=true
16+
17+
artifacts:
18+
- path: _Packages\*.nupkg
19+
name: NuGet package
20+
21+
deploy:
22+
- provider: NuGet
23+
artifact: /NuGet/
24+
api_key:
25+
secure: ykKSUjAVYCP1SdG2u5b7S7jiRhFrTBbnwdvwLYmY6T6sivZk33zHuPEQGQz6gp7X
26+
on:
27+
branch: main
28+
appveyor_repo_commit_message_extended: /\[release\]/

0 commit comments

Comments
 (0)