]> git.gsnw.org Git - fping.git/commitdiff
Update Azure Pipline add macOS pipline job
authorGerman Service Network <support@gsnw.de>
Wed, 20 Mar 2024 08:37:30 +0000 (09:37 +0100)
committerDavid Schweikert <david@schweikert.ch>
Sat, 13 Apr 2024 16:07:42 +0000 (18:07 +0200)
azure-pipelines.yml

index 98d75c95967d6219fbc9b7cfdc19fee41faf2780..9833f76e6300f22af7e89162fa20aa72a05dd07a 100644 (file)
@@ -23,3 +23,30 @@ jobs:
      prove $(ls ci/test-*.pl|grep -v internet-hosts|grep -v -E "test-13-unknown-host.pl|test-14-ping-internet-hosts.pl")
      ci/test-tarball.sh
     displayName: 'build_test'
+
+- job: macos_build
+  displayName: macOS Build
+
+  pool:
+    name: Azure Pipelines
+    vmImage: 'macos-latest'
+  workspace:
+    clean: all
+  steps:
+    - script: |
+       brew install autoconf automake lcov
+       ci/build-2-test-command.sh
+       ci/build-3-prepare-macos.sh
+      displayName: 'before_install'
+
+    - script: |
+       ci/build-4-compile.sh
+      displayName: install
+
+    - script: |
+       set -ex
+       PATH=`pwd`/src:$PATH
+       export SKIP_IPV6=1
+       prove $(ls ci/test-*.pl|grep -v internet-hosts|grep -v test-10-option-u-x.pl)
+       ci/run-lcov.sh
+      displayName: 'build_test'