From 87033328778b8f7d8b5dbcc1d7df5277ee29ef58 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Wed, 20 Mar 2024 09:10:51 +0100 Subject: [PATCH 1/2] Update Azure Pipline linux test based on github pipline with matching exclude --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 115b65e4..98d75c95 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -20,7 +20,6 @@ jobs: - script: | set -ex PATH=`pwd`/src:$PATH - prove ci/test-{01..12}*.pl - prove ci/test-15*.pl + 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' From 1fc17bff22d4305abaceccc89340a1d0f16f82e0 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Wed, 20 Mar 2024 09:37:30 +0100 Subject: [PATCH 2/2] Update Azure Pipline add macOS pipline job --- azure-pipelines.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 98d75c95..9833f76e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'