view .cirrus.yml @ 27643:517daf1a6e5b v8.2.4347

patch 8.2.4347: in some build setups UNUSED is not defined Commit: https://github.com/vim/vim/commit/bd89d4406327d3a30517443a4a518f49ebc99368 Author: ola.soder@axis.com <ola.soder@axis.com> Date: Fri Feb 11 19:27:55 2022 +0000 patch 8.2.4347: in some build setups UNUSED is not defined Problem: In some build setups UNUSED is not defined. Solution: Change the logic of how UNUSED is defined. (Ola S?der, closes #9734)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Feb 2022 20:30:03 +0100
parents b2660a8bbf36
children 3a4ed4d1080d
line wrap: on
line source

env:
  CIRRUS_CLONE_DEPTH: 3
  FEATURES: huge

freebsd_12_task:
  only_if: $CIRRUS_TAG == ''
  timeout_in: 20m
  freebsd_instance:
    image: freebsd-12-1-release-amd64
  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