diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 0000000..6582799 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e989f74..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,8 +0,0 @@ -image: Visual Studio 2017 -build_script: - - ps: | - .\build.ps1 - if ($lastexitcode -ne 0){ exit $lastexitcode } -test: off -artifacts: - - path: bin\*.nupkg \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cc3bf69..7638643 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,16 +1,30 @@ -pool: - vmImage: Ubuntu-16.04 -steps: -- script: | - set -e - ./build.sh - ./build-checksum.sh -- task: CopyFiles@2 - inputs: - contents: bin/*.nupkg - flattenFolders: true - targetFolder: $(Build.ArtifactStagingDirectory) -- task: PublishBuildArtifacts@1 - inputs: - pathtoPublish: $(Build.ArtifactStagingDirectory) - artifactName: nuget \ No newline at end of file +jobs: + +- job: Windows + pool: + vmImage: win1803 + # container: 'mcr.microsoft.com/dotnet/core/sdk:2.2.105-nanoserver-1803' + steps: + - powershell: | + dotnet --version + .\build.ps1 + if ($lastexitcode -ne 0){ exit $lastexitcode } + +- job: Linux + pool: + vmImage: Ubuntu-16.04 + container: mcr.microsoft.com/dotnet/core/sdk:2.2.105 + steps: + - script: | + set -e + ./build.sh + ./build-checksum.sh + - task: CopyFiles@2 + inputs: + contents: bin/*.nupkg + flattenFolders: true + targetFolder: $(Build.ArtifactStagingDirectory) + - task: PublishBuildArtifacts@1 + inputs: + pathtoPublish: $(Build.ArtifactStagingDirectory) + artifactName: nuget \ No newline at end of file