view .cirrus.yml @ 30683:9549234f3f95 v9.0.0676

patch 9.0.0676: CI on Mac M1 with gcc actually uses clang Commit: https://github.com/vim/vim/commit/d459020c62f945ca089a6f7349d559cc9db8596b Author: ichizok <gclient.gaap@gmail.com> Date: Thu Oct 6 16:56:44 2022 +0100 patch 9.0.0676: CI on Mac M1 with gcc actually uses clang Problem: CI on Mac M1 with gcc actually uses clang. Solution: Remove the gcc task. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/11297)
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Oct 2022 18:00:04 +0200
parents 6f76a14e0140
children d81e09faf28e
line wrap: on
line source

env:
  CIRRUS_CLONE_DEPTH: 3
  FEATURES: huge

freebsd_task:
  name: FreeBSD
  matrix:
    - name: FreeBSD 13.1
      freebsd_instance:
        image_family: freebsd-13-1
    - name: FreeBSD 12.3
      freebsd_instance:
        image_family: freebsd-12-3
  timeout_in: 20m
  install_script:
    - pkg update -f
    - 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

macos_task:
  name: macOS m1
  macos_instance:
    image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
  env:
    # only run with clang, gcc is not real, it is a link to clang
    CC: clang
  timeout_in: 20m
  install_script:
    - brew update
    - brew install gettext libtool
  build_script:
    - NPROC=$(getconf _NPROCESSORS_ONLN)
    - ./configure --with-features=${FEATURES}
    - make -j${NPROC}
  test_script:
    - src/vim --version
    - make test