summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: 4902fd370d96a0f6010a7846547ea500ce148dbc (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
freebsd_build_task:

  freebsd_instance:
    matrix:
      image: freebsd-12-0-release-amd64
      image: freebsd-11-2-release-amd64
    cpu: 4
    memory: 8G

  env:
    matrix:
      COMPILER: gcc
      COMPILER: clang

  prepare_script:
    - pkg install -y automake libtool gmake gcc wget
                     python py27-six py27-sphinx

  configure_script:
    - ./boot.sh
    - ./configure CC=$COMPILER MAKE=gmake OVS_CFLAGS='-Wall' --enable-Werror
                  || { cat config.log; exit 1; }

  build_script:
    - gmake -j8

#  TODO(i.maximets): Uncomment the test suite execution when it is fixed.
#  check_script:
#    - gmake -j8 check TESTSUITEFLAGS=-j8 RECHECK=yes
#                || { cat ./tests/testsuite.log; exit 1; }