Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

use Azure Pipelines for Windows builds #105

Merged
merged 6 commits into from
Mar 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
8 changes: 0 additions & 8 deletions appveyor.yml

This file was deleted.

46 changes: 30 additions & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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
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