diff --git a/.azure-pipelines-mac.yml b/.azure-pipelines-mac.yml new file mode 100644 index 00000000..bc57c4e7 --- /dev/null +++ b/.azure-pipelines-mac.yml @@ -0,0 +1,24 @@ +# C/C++ with GCC +# Build your C/C++ project with GCC using make. +# Add steps that publish test results, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc + +jobs: +- job: macOS + pool: + vmImage: 'macOS-10.14' + steps: + - script: | + brew update + brew install glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 + displayName: 'Prerequisites' + - script: | + mkdir build && cd build + export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" + cmake -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. + make + displayName: 'Compile fluidsynth' + - script: | + cd build || exit -1 + make check || exit -1 + displayName: 'Execute Unittests' diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index a90e0f6e..0cbb58e5 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -4,25 +4,6 @@ # https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc jobs: -- job: macOS - pool: - vmImage: 'macOS-10.14' - steps: - - script: | - brew update - brew install glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 - displayName: 'Prerequisites' - - script: | - mkdir build && cd build - export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" - cmake -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. - make - displayName: 'Compile fluidsynth' - - script: | - cd build || exit -1 - make check || exit -1 - displayName: 'Execute Unittests' - - job: Windows strategy: matrix: diff --git a/README.md b/README.md index 24c4aabb..cfca1802 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ |---|---|---| | **Linux** | n.a. | [![Build Status Travis](https://travis-ci.org/FluidSynth/fluidsynth.svg?branch=master)](https://travis-ci.org/FluidSynth/fluidsynth/branches) | | **FreeBSD** | n.a. | [![Build Status](https://api.cirrus-ci.com/github/FluidSynth/fluidsynth.svg?branch=master)](https://cirrus-ci.com/github/FluidSynth/fluidsynth) | -| **Windows** && **MacOSX** | [![Build Status](https://dev.azure.com/tommbrt/tommbrt/_apis/build/status/FluidSynth.fluidsynth?branchName=master)](https://dev.azure.com/tommbrt/tommbrt/_build/latest?definitionId=3&branchName=master) | [![Build status](https://ci.appveyor.com/api/projects/status/anbmtebt5uk4q1it/branch/master?svg=true)](https://ci.appveyor.com/project/derselbst/fluidsynth-g2ouw/branch/master) | +| **Windows** | [![Build Status](https://dev.azure.com/tommbrt/tommbrt/_apis/build/status/FluidSynth.fluidsynth.Win?branchName=master)](https://dev.azure.com/tommbrt/tommbrt/_build/latest?definitionId=3&branchName=master) | [![Build status](https://ci.appveyor.com/api/projects/status/anbmtebt5uk4q1it/branch/master?svg=true)](https://ci.appveyor.com/project/derselbst/fluidsynth-g2ouw/branch/master) | +| **MacOSX** | n.a. | [![Build Status](https://dev.azure.com/tommbrt/tommbrt/_apis/build/status/FluidSynth.fluidsynth.macOS?branchName=master)](https://dev.azure.com/tommbrt/tommbrt/_build/latest?definitionId=5&branchName=master) | | **Android** | n.a. | [![CircleCI](https://circleci.com/gh/FluidSynth/fluidsynth.svg?style=svg)](https://circleci.com/gh/FluidSynth/fluidsynth) |