]> git.gsnw.org Git - fping.git/commitdiff
Add Azure Pipline jobs
authorGerman Service Network <support@gsnw.de>
Sat, 8 Feb 2020 20:03:54 +0000 (21:03 +0100)
committerGerman Service Network <support@gsnw.de>
Sat, 8 Feb 2020 20:03:54 +0000 (21:03 +0100)
azure-pipelines.yml

index be4eb041cfbc19c48b5ed45cea0198354a60b81b..7a76f279bd4c9468ad1fb1d16b2c2a2f65bd5358 100644 (file)
@@ -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'