Добавил скрипты для CI

This commit is contained in:
YPermitin
2020-12-30 01:19:26 +05:00
parent 412495ba6c
commit bd48ecabb3
5 changed files with 29 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
dotnet build
+1
View File
@@ -0,0 +1 @@
dotnet test ./Tests/YY.TechJournalExportAssistant.Tests/YY.TechJournalExportAssistant.Tests.csproj
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
API_KEY = $1
dotnet nuget push ./YY.TechJournalExportAssistant.Core/bin/Release/YY.TechJournalExportAssistant.Core.*.nupkg -k $1 -s https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push ./YY.TechJournalExportAssistant.ClickHouse/bin/Release/YY.TechJournalExportAssistant.ClickHouse.*.nupkg -k $1 -s https://api.nuget.org/v3/index.json --skip-duplicate
+9
View File
@@ -19,6 +19,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "YY.TechJournalExportAssista
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{300AD5BD-47CB-4AA8-B823-9B061C7654D1}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
LICENSE = LICENSE
README.md = README.md
EndProjectSection
@@ -28,6 +29,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Nuget", "Nuget", "{56E62BAA
Nuget\icon.png = Nuget\icon.png
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{7E5B0AC0-4A78-4BC2-9C54-E461317125AB}"
ProjectSection(SolutionItems) = preProject
Scripts\appveyor-build.ps1 = Scripts\appveyor-build.ps1
Scripts\appveyor-runTests.ps1 = Scripts\appveyor-runTests.ps1
Scripts\deploy.sh = Scripts\deploy.sh
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -60,6 +68,7 @@ Global
{2A6385AB-F109-4D3C-9BDE-E2DC6B518812} = {274A8CD4-5F80-4164-B0F6-1F2ACBB8E00B}
{62CDAE77-D687-423E-B88C-25967ECC2353} = {274A8CD4-5F80-4164-B0F6-1F2ACBB8E00B}
{56E62BAA-09E0-4119-AA48-0F3B6E80C1F7} = {300AD5BD-47CB-4AA8-B823-9B061C7654D1}
{7E5B0AC0-4A78-4BC2-9C54-E461317125AB} = {300AD5BD-47CB-4AA8-B823-9B061C7654D1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B3DABD43-6E3B-4871-B426-2C4BDD6018CC}
+12
View File
@@ -0,0 +1,12 @@
version: 1.0.0.{build}
configuration: Release
image:
- Visual Studio 2019
build_script:
- ps: >-
.\Scripts\appveyor-build.ps1
test_script:
- ps: >-
.\Scripts\appveyor-runTests.ps1