mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-04 01:51:06 +00:00
Add MacOS 11 CI Build (#975)
This commit is contained in:
parent
f6fa0290b7
commit
6e123d6ef0
1 changed files with 15 additions and 3 deletions
|
@ -15,23 +15,35 @@ trigger:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: macOS
|
- job: macOS
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
10_14:
|
||||||
|
imageName: 'macOS-10.14'
|
||||||
|
10_15:
|
||||||
|
imageName: 'macOS-10.15'
|
||||||
|
11_0:
|
||||||
|
imageName: 'macos-11'
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-10.14'
|
vmImage: $(imageName)
|
||||||
# recommended by https://github.com/Homebrew/brew/issues/2491#issuecomment-294207661
|
# recommended by https://github.com/Homebrew/brew/issues/2491#issuecomment-294207661
|
||||||
# brew update || brew update
|
# brew update || brew update
|
||||||
# brew upgrade $PACKAGES
|
# brew upgrade $PACKAGES
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
|
set -ex
|
||||||
PACKAGES="glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 libomp"
|
PACKAGES="glib gobject-introspection libsndfile pkg-config jack dbus-glib pulseaudio portaudio sdl2 libomp"
|
||||||
brew install $PACKAGES
|
brew install $PACKAGES
|
||||||
displayName: 'Prerequisites'
|
displayName: 'Prerequisites'
|
||||||
- script: |
|
- script: |
|
||||||
|
set -ex
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
|
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 ..
|
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'
|
displayName: 'Compile fluidsynth'
|
||||||
- script: |
|
- script: |
|
||||||
|
set -ex
|
||||||
cd build || exit -1
|
cd build || exit -1
|
||||||
make -j`nproc` check || exit -1
|
make -j3 check || exit -1
|
||||||
displayName: 'Execute Unittests'
|
displayName: 'Execute Unittests'
|
||||||
|
|
Loading…
Reference in a new issue