From 5b5fa55d630c13f6946dcf7837c6fc8d37a21fbb Mon Sep 17 00:00:00 2001 From: German Service Network Date: Sat, 8 Feb 2020 21:03:54 +0100 Subject: [PATCH] Add Azure Pipline jobs --- azure-pipelines.yml | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index be4eb041..7a76f279 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,21 +1,26 @@ -pool: - name: Hosted Ubuntu 1604 -steps: -- script: | - sudo apt-get update -qq - sudo apt-get install libcap2-bin - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- - displayName: 'before_install' +jobs: +- job: linux_build + displayName: Linux Build -- script: | - ci/build-1-autotools.sh - curl -L http://cpanmin.us | perl - --sudo App::cpanminus - cpanm --sudo Test::Command - displayName: install + pool: Hosted Ubuntu 1604 + workspace: + clean: all + steps: + - script: | + sudo apt-get update -qq + sudo apt-get install libcap2-bin + echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- + displayName: 'before_install' -- script: | - ci/build-2-install.sh - env PATH=`pwd`/src:$PATH prove ci/test-{01..13}*.pl - env PATH=`pwd`/src:$PATH prove ci/test-15*.pl - ci/test-tarball.sh - displayName: 'build_test' + - script: | + ci/build-1-autotools.sh + curl -L http://cpanmin.us | perl - --sudo App::cpanminus + cpanm --sudo Test::Command + displayName: install + + - script: | + ci/build-2-install.sh + env PATH=`pwd`/src:$PATH prove ci/test-{01..13}*.pl + env PATH=`pwd`/src:$PATH prove ci/test-15*.pl + ci/test-tarball.sh + displayName: 'build_test'