1freebsd_instance:
2    image: freebsd-12-1-release-amd64
3
4task:
5    install_script:
6        - pkg install -y cmake libevent git go
7        - git clone https://boringssl.googlesource.com/boringssl
8        - cd boringssl
9        # This is so that both GQUIC and IETF branches build.  Just picking
10        # a known good revision:
11        - git checkout a2278d4d2cabe73f6663e3299ea7808edfa306b9
12        - cmake .
13        - make
14        - cd -
15    script:
16        - git submodule init
17        - git submodule update
18        - cmake -DBORINGSSL_DIR=$PWD/boringssl .
19        - make
20        - make test
21