view .cirrus.yml @ 27126:e64dd0403963 v8.2.4092

patch 8.2.4092: MacOS CI: unnecessarily doing "Install packages" Commit: https://github.com/vim/vim/commit/ece07639f4989a300276d66b13553c21a7435030 Author: ichizok <gclient.gaap@gmail.com> Date: Fri Jan 14 21:28:59 2022 +0000 patch 8.2.4092: MacOS CI: unnecessarily doing "Install packages" Problem: MacOS CI: unnecessarily doing "Install packages". Solution: Only do "Install packages" for huge build. (Ozaki Kiichi, closes #9521)
author Bram Moolenaar <Bram@vim.org>
date Fri, 14 Jan 2022 22: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