diff --git a/az-ci/azure-devops-psreadline.yml b/az-ci/azure-devops-psreadline.yml new file mode 100644 index 0000000..64e5a14 --- /dev/null +++ b/az-ci/azure-devops-psreadline.yml @@ -0,0 +1,24 @@ + +parameters: + name: '' # defaults for any parameters that aren't specified + vmImage: '' + +jobs: +- job: ${{ parameters.name }} + pool: + vmImage: ${{ parameters.vmImage }} + + variables: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + POWERSHELL_TELEMETRY_OPTOUT: 1 + # Avoid expensive initialization of dotnet cli, see: http://donovanbrown.com/post/Stop-wasting-time-during-NET-Core-builds + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + + steps: + - script: dotnet restore PSReadLine/PSReadLine.csproj + - script: dotnet nuget locals all --list + - powershell: | + Install-Module InvokeBuild,platyPS -Scope CurrentUser -Force + Import-Module InvokeBuild,platyPS + Invoke-Build -Task ZipRelease -Configuration Release + diff --git a/az-ci/azure-pipelines.yml b/az-ci/azure-pipelines.yml new file mode 100644 index 0000000..d7771d6 --- /dev/null +++ b/az-ci/azure-pipelines.yml @@ -0,0 +1,16 @@ + +jobs: +- template: azure-devops-psreadline.yml + parameters: + name: Linux + vmImage: 'ubuntu-16.04' + +- template: azure-devops-psreadline.yml + parameters: + name: macOS + vmImage: 'macOS-10.13' + +#- template: azure-devops-psreadline.yml +# parameters: +# name: Windows +# vmImage: 'vs2017-win2016' diff --git a/nuget.config b/nuget.config index e88d0fb..88798ff 100644 --- a/nuget.config +++ b/nuget.config @@ -4,5 +4,6 @@ + - \ No newline at end of file +