From cccfd33ce0494944d219334ed550664d544f3e00 Mon Sep 17 00:00:00 2001 From: VladVascan <50298389+VladVascan@users.noreply.github.com> Date: Thu, 30 May 2019 14:16:51 +0100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 00ec3cc5d..ff5420176 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,21 +1,16 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml - trigger: - master +- releases/* -pool: - vmImage: 'ubuntu-latest' -steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' +# All tasks on Linux -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' - -- task: 'PublishBuildArtifacts@1' +- job: build all linux + displayName: Build all tasks (Linux) + condition: and(succeeded(), not(variables.task), eq(variables.os, 'Linux')) + pool: + vmImage: ubuntu-16.04 + steps: + - template: ci/build-all-steps.yml + parameters: + os: Linux