File: .cirrus.yml

package info (click to toggle)
rumur 2020.12.20-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,292 kB
  • sloc: cpp: 17,090; ansic: 2,537; objc: 1,542; python: 1,120; sh: 538; yacc: 536; lex: 229; lisp: 15; makefile: 5
file content (119 lines) | stat: -rw-r--r-- 5,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
task:

  # only test the master branch and pull requests
  only_if: $CIRRUS_BRANCH == "master" || $CIRRUS_PR != ""

  # increase timeout to the maximum limit
  timeout_in: 120m

  matrix:
    - name: FreeBSD 13.0
      freebsd_instance:
        image_family: freebsd-13-0-snap
      install_script: pkg upgrade -y && pkg install -y bash bison cmake gmp libxml2 z3
    - name: FreeBSD 12.1
      freebsd_instance:
        image_family: freebsd-12-1-snap
      install_script: pkg upgrade -y && pkg install -y bash bison cmake gmp libxml2 z3
    - name: FreeBSD 11.3
      freebsd_instance:
        image_family: freebsd-11-3-snap
      install_script: pkg upgrade -y && pkg install -y bash bison cmake gmp libxml2 z3

    - name: macOS, XCode 11.3.1, Homebrew
      osx_instance:
        image: catalina-xcode-11.3.1
      environment:
        # To quote Homebrew, "bison is keg-only, which means it was not
        # symlinked into /usr/local, because some formulae require a newer
        # version of bison." I do not know when this became the case as it was
        # not originally, but we'll force this.
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      # The version of Bison that comes with XCode is too old to support some of
      # the flags/features we use. To install newer versions and make them
      # available to CMake we need to link them into the system directories.
      install_script: brew update && brew install bison && brew link bison --force
    - name: macOS, XCode 11.4.1, Homebrew
      osx_instance:
        image: catalina-xcode-11.4.1
      environment:
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: brew update && brew install bison && brew link bison --force
    - name: macOS, XCode 11.5, Homebrew
      osx_instance:
        image: catalina-xcode-11.5
      environment:
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: brew update && brew install bison && brew link bison --force
    - name: macOS, XCode 11.6, Homebrew
      osx_instance:
        image: catalina-xcode-11.6
      environment:
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: brew update && brew install bison && brew link bison --force
    - name: macOS, XCode 12.0, Homebrew
      osx_instance:
        image: catalina-xcode-12.0
      environment:
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: brew update && brew install bison && brew link bison --force
    - name: macOS, XCode 12.1, Homebrew
      osx_instance:
        image: catalina-xcode-12.1
      environment:
        PATH: /usr/local/opt/bison/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: brew update && brew install bison && brew link bison --force

    - name: macOS, XCode 11.3.1, Macports
      osx_instance:
        image: catalina-xcode-11.3.1
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison
    - name: macOS, XCode 11.4.1, Macports
      osx_instance:
        image: catalina-xcode-11.4.1
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison
    - name: macOS, XCode 11.5, Macports
      osx_instance:
        image: catalina-xcode-11.5
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison
    - name: macOS, XCode 11.6, Macports
      osx_instance:
        image: catalina-xcode-11.6
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison
    - name: macOS, XCode 12.0, Macports
      osx_instance:
        image: catalina-xcode-12.0
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison
    - name: macOS, XCode 12.1, Macports
      osx_instance:
        image: catalina-xcode-12.1
      environment:
        PATH: /opt/local/bin:${PATH}
        CXXFLAGS: -fsanitize=address -Werror
      install_script: ./misc/install-macports.sh && sudo port -v selfupdate && sudo port -N install bison

  # we limit the test suite to a single thread because the Cirrus CI VMs claim
  # to have 2 CPUs but do not seem to give two concurrent processes enough CPU
  # time and we end up having some of the SMT tests time out
  test_script: uname -sr && python3 --version && mkdir build && cd build && cmake .. && cmake --build . && sudo cmake --build . -- install && cmake --build . -- check