aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: c9de7df45e36607319b9d12cb65ff06d1a3f1da3 (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
34
35
36
37
38
39
40
41
42
43
# seems that inside the CI it's not currently possible to bind to ::1
# so set HAVE_IPV6=no.

linux_amd64_task:
  container:
    image: alpine:latest
  test_script:
    - apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
    - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
    - make
    - make regress REGRESS_HOST="*" HAVE_IPV6=no

linux_arm_task:
  arm_container:
    image: alpine:latest
  test_script:
    - apk add alpine-sdk linux-headers bison libretls-dev libevent-dev
    - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
    - make
    - make regress REGRESS_HOST="*" HAVE_IPV6=no

freebsd_14_task:
  freebsd_instance:
    image_family: freebsd-14-0
  install_script: pkg install -y libevent libressl pkgconf
  script:
    - ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
    - make
    - make regress HAVE_IPV6=no

#
# There are some issues with imsg fd passing on macos at the moment that
# seem to be triggered only in applications that do a heavy use of them,
# like gmid or opensmtpd.  Still, keep macos to ensure gmid builds here.
#
mac_task:
  macos_instance:
    image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
  test_script:
    - brew install libevent openssl libretls
    - PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" ./configure CFLAGS='-O2 -pipe -Wno-deprecated-declarations' -Werror
    - make
    - SKIP_RUNTIME_TESTS=1 make regress