1ac022203SDmitri Tikhonovfreebsd_instance:
294840e99SDmitri Tikhonov    image: freebsd-12-1-release-amd64
3ac022203SDmitri Tikhonov
4ac022203SDmitri Tikhonovtask:
5ac022203SDmitri Tikhonov    install_script:
6ac022203SDmitri Tikhonov        - pkg install -y cmake libevent git go
7ac022203SDmitri Tikhonov        - git clone https://boringssl.googlesource.com/boringssl
8ac022203SDmitri Tikhonov        - cd boringssl
9ac022203SDmitri Tikhonov        # This is so that both GQUIC and IETF branches build.  Just picking
10ac022203SDmitri Tikhonov        # a known good revision:
1126e8f082SDmitri Tikhonov        - git checkout a2278d4d2cabe73f6663e3299ea7808edfa306b9
12ac022203SDmitri Tikhonov        - cmake .
13ac022203SDmitri Tikhonov        - make
14ac022203SDmitri Tikhonov        - cd -
15ac022203SDmitri Tikhonov    script:
165392f7a3SLiteSpeed Tech        - git submodule init
175392f7a3SLiteSpeed Tech        - git submodule update
18b1af35d6SDmitri Tikhonov        - cmake -DBORINGSSL_DIR=$PWD/boringssl .
19ac022203SDmitri Tikhonov        - make
20ac022203SDmitri Tikhonov        - make test
21