mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
2c252f915b
In ID-28, using TLS middlebox compatibility mode is forbidden and we need a later version of BoringSSL for it to do the right thing. This also means we had to update our code, because BoringSSL's QUIC API has changed.
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
language: c
|
|
matrix:
|
|
include:
|
|
- name: Linux (gcc)
|
|
os: linux
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libevent-dev
|
|
- name: Linux (clang)
|
|
os: linux
|
|
compiler: clang
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libevent-dev
|
|
- name: macOS
|
|
os: osx
|
|
sudo: false
|
|
before_install:
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then sudo add-apt-repository -y ppa:longsleep/golang-backports; fi
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; fi
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install golang-1.13-go; fi
|
|
install:
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then export PATH=/usr/lib/go-1.13/bin:$PATH; fi
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then export GOPATH=/usr/lib/go-1.13:$GOPATH; fi
|
|
- if [ $TRAVIS_OS_NAME = linux ]; then export GOROOT=/usr/lib/go-1.13; fi
|
|
before_script:
|
|
- 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 251b5169fd44345f455438312ec4e18ae07fd58c
|
|
- cmake .
|
|
- make
|
|
- cd -
|
|
- git submodule init
|
|
- git submodule update
|
|
- cmake -DBORINGSSL_DIR=$PWD/boringssl .
|
|
script:
|
|
# Now build lsquic-client
|
|
- make
|
|
- make test
|