freebsd_instance:
    image: freebsd-11-2-release-amd64

task:
    install_script:
        - pkg install -y cmake libevent git go
        - git clone https://boringssl.googlesource.com/boringssl
        - cd boringssl
        # This is so that both GQUIC and IETF branches build.  Just picking
        # a known good revision:
        - git checkout 49de1fc2910524c888866c7e2b0db1ba8af2a530
        - cmake .
        - make
        - cd -
    script:
        - git submodule init
        - git submodule update
        - cmake -DBORINGSSL_DIR=$PWD/boringssl .
        - make
        - make test
