view .cirrus.yml @ 33288:2bd718f6fe7d v9.0.1910

patch 9.0.1910: Mac OS X: missing sound support on older versions Commit: https://github.com/vim/vim/commit/063c562a3715e9fce21b791ad4c8980b09b64a89 Author: Sevan Janiyan <venture37@geeklan.co.uk> Date: Mon Sep 18 20:04:32 2023 +0200 patch 9.0.1910: Mac OS X: missing sound support on older versions Problem: Mac OS X: missing sound support on older versions Solution: Check Macro MAC_OS_X_VERSION_MIN_REQUIRED Extend guard for sound support on OS X Fixes build on legacy versions where required coreaudio functionality may not be available. NSSoundDelegate apparently was introduced in Snow Leopard yet the build breaks on it. Guarding off enabling sound support to El Capitan as that's the next version I had access to for testing (it may work on earlier versions) https://developer.apple.com/documentation/appkit/nssounddelegate Vim builds on OS X Tiger 10.4 and newer with this change. closes: #13115 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Sevan Janiyan <venture37@geeklan.co.uk>
author Christian Brabandt <cb@256bit.org>
date Mon, 18 Sep 2023 20:15:06 +0200
parents 267308bfae50
children 42b89193ab3e
line wrap: on
line source

env:
  CIRRUS_CLONE_DEPTH: 3
  FEATURES: huge

freebsd_task:
  name: FreeBSD
  matrix:
    - name: FreeBSD 14.0
      freebsd_instance:
        image_family: freebsd-14-0
  timeout_in: 20m
  install_script:
    - pkg install -y gettext
  build_script:
    - NPROC=$(getconf _NPROCESSORS_ONLN)
    - ./configure --with-features=${FEATURES}
    - make -j${NPROC}
  test_script:
    - src/vim --version
      # run tests as user "cirrus" instead of root
    - pw useradd cirrus -m
    - chown -R cirrus:cirrus .
    - sudo -u cirrus make test