view .cirrus.yml @ 23258:262b38ddf72d v8.2.2175

patch 8.2.2175: github actions: clang-11 handling suboptimal Commit: https://github.com/vim/vim/commit/9aff970204234193045cfee205d51e2393e93bfd Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 21 13:37:28 2020 +0100 patch 8.2.2175: github actions: clang-11 handling suboptimal Problem: Github actions: clang-11 handling suboptimal. Solution: Separate step of installing clang-11. Get ubuntu release name dynamically. (Ozaki Kiichi, closes #7514)
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Dec 2020 13:45:04 +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