From 6e123d6ef023f4975532fb3bfb8436bcd94997c3 Mon Sep 17 00:00:00 2001 From: Tom M Date: Tue, 7 Sep 2021 22:10:29 +0200 Subject: [PATCH] Add MacOS 11 CI Build (#975) --- .azure/azure-pipelines-mac.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.azure/azure-pipelines-mac.yml b/.azure/azure-pipelines-mac.yml index 64a6c666..18b87dea 100644 --- a/.azure/azure-pipelines-mac.yml +++ b/.azure/azure-pipelines-mac.yml @@ -15,23 +15,35 @@ trigger: jobs: - job: macOS + strategy: + matrix: + 10_14: + imageName: 'macOS-10.14' + 10_15: + imageName: 'macOS-10.15' + 11_0: + imageName: 'macos-11' + pool: - vmImage: 'macOS-10.14' + vmImage: $(imageName) # recommended by https://github.com/Homebrew/brew/issues/2491#issuecomment-294207661 # brew update || brew update # brew upgrade $PACKAGES steps: - script: | + set -ex PACKAGES="glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 libomp" brew install $PACKAGES displayName: 'Prerequisites' - script: | + set -ex mkdir build && cd build export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" cmake -Werror=dev -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. - make -j`nproc` + make -j3 displayName: 'Compile fluidsynth' - script: | + set -ex cd build || exit -1 - make -j`nproc` check || exit -1 + make -j3 check || exit -1 displayName: 'Execute Unittests'