summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: 9bb6cce4ead3169e19fa5cac595cbded2054df31 (plain)
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
# https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
freebsd_template: &FREEBSD_TEMPLATE
  environment:
    APPEND_LIB: /usr/local/lib
    APPEND_INCLUDES: /usr/local/include

  install_script: pkg install -y seabios gmake ninja bash
                                 pkgconf python libiconv bison perl5
                                 yajl lzo2 pixman argp-standalone
                                 libxml2 glib git

  build_script:
    - cc --version
    - ./configure --with-system-seabios=/usr/local/share/seabios/bios.bin
    - gmake -j`sysctl -n hw.ncpu` clang=y

task:
  name: 'FreeBSD 12'
  freebsd_instance:
    image_family: freebsd-12-3
  << : *FREEBSD_TEMPLATE

task:
  name: 'FreeBSD 13'
  freebsd_instance:
    image_family: freebsd-13-2
  << : *FREEBSD_TEMPLATE

task:
  name: 'FreeBSD 14'
  freebsd_instance:
    image_family: freebsd-14-0-snap
  << : *FREEBSD_TEMPLATE