ci: use Ninja on macOS
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 620601d..a891de0 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -69,6 +69,7 @@ jobs:
TMPDIR: $(Agent.TempDirectory)
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
LEAK_CHECK: leaks
+ CMAKE_OPTIONS: -G Ninja
- job: windows_vs_amd64
displayName: 'Windows (Visual Studio; amd64)'
diff --git a/ci/setup-osx.sh b/ci/setup-osx.sh
index 564910e..2e630ee 100755
--- a/ci/setup-osx.sh
+++ b/ci/setup-osx.sh
@@ -3,6 +3,6 @@
set -x
brew update
-brew install pkgconfig zlib curl openssl libssh2
+brew install pkgconfig zlib curl openssl libssh2 ninja
ln -s /Applications/Xcode.app/Contents/Developer/usr/lib/libLeaksAtExit.dylib /usr/local/lib